Skip to content

Latest commit

 

History

History
39 lines (37 loc) · 2.43 KB

README.md

File metadata and controls

39 lines (37 loc) · 2.43 KB

Service shell scripts

A collection of shell scripts for various every day routines and monitoring operations.

hosts_con_check.sh
send_msg_telegram.sh
rand_pass_gen.sh
prime_factors.sh
dec_to_bin.sh
bin_to_dec.sh
greatest_common_divisor.sh
least_common_multiple.sh
prime_numbers.sh

continuously check connection to each host from array of hosts, log data and send corresponding messages to Telegram.

TODO
  • Validity check for IPv4 dot-decimal IP addresses
  • Stand alone options parser
  • Check whether port on remote host still open

send a message with optional content via your own Telegram bot (use your credits).

generate random passphrase with minimun one lowercase, one uppercase, and one digit characters with default length of 8 characters or user defined between length between 6 or 30 characters.

TODO
  • add special characters to string generator
  • add help
  • add argument parser to parse -h or --help as command to pring help

represent entered number as a product of prime numbers, up to the order of factors.

convert decimal number to binary

convert binary number to decimal

find greatest common divisor of two positive numbers

find least common multiple of two positive numbers

find sequence of prime numbers from 2 up to entered number with Sieve of Eratosthenes algorithm