This Bash script provides a simple calculator, a password generator, and a digital watch. It allows users to perform arithmetic calculations, generate random passwords, and display the current time.
- Run the script using
bash calculator.sh
. - Follow the on-screen prompts:
- Enter the first number.
- Enter the second number.
- Enter the arithmetic operation (+, -, *, /).
- The result of the calculation will be displayed.
- Run the script using
bash calculator.sh
. - Follow the on-screen prompt:
- Enter the desired length of the password.
- A random password of the specified length will be generated and displayed.
- Run the script using
bash digital_watch.sh
. - The current time will be continuously displayed in blue text.
- Run the script using
StartTheDay.sh
. - This will kick start your day.
- Change the link if needed.
$ bash calculator.sh
Please enter the first number:
10
Please enter the second number:
5
Please enter the operation (+, -, *, /):
+
The result is: 15
$ bash calculator.sh
Welcome to simple password generator
Please enter the length of the password:
12
cW7vhQDqDCrz
$ bash digital_watch.sh
12:34:56
$ bash StartTheDay.sh
- For the calculator, only integer numbers are supported.
- For the password generator, the password length should be specified in integers. For secure passwords, consider using longer lengths.
- The digital watch continuously displays the current time in blue text.
- Hey! KickStart your day in style.