Bash shell script to check the equality of given numbers
kw.sh
Output
kodingwindow@kw:~$ bash kw.sh ——————————————————————————————————————————— Script to check the equality of given numbers ——————————————————————————————————————————— Enter the 1st number -5 Enter the 2nd number -10 -5 is greater than -10 ——————————————————————————————————————————— kodingwindow@kw:~$ bash kw.sh ——————————————————————————————————————————— Script to check the equality of given numbers ——————————————————————————————————————————— Enter the 1st number 0 Enter the 2nd number 0 0 is equal to 0 ——————————————————————————————————————————— kodingwindow@kw:~$
Bash shell script to check the equality of given strings
kw.sh
Output
kodingwindow@kw:~$ bash kw.sh ——————————————————————————————————————————— Script to check the equality of given strings ——————————————————————————————————————————— Enter the 1st string WELCOME Enter the 2nd string welcome WELCOME is not equal to welcome ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
Bash shell script to convert Decimal to Hexadecimal and Octal
Bash shell script to convert all lowercase letters in a file to uppercase letters
Bash shell script to convert all uppercase letters in a file to lowercase letters
Advertisement