mirror of
https://github.com/techarkit/shell-scripting-tutorial.git
synced 2025-07-28 23:28:40 +00:00
20 lines
373 B
Bash
20 lines
373 B
Bash
#!/bin/bash
|
|
#Purpose: eval command Evaluating twice
|
|
#Version:1.0
|
|
#Created Date: Wed Jun 13 22:09:59 IST 2018
|
|
#Modified Date:
|
|
#WebSite: https://arkit.co.in
|
|
#Author: Ankam Ravi Kumar
|
|
# START #
|
|
|
|
echo "enter the a vloue $a"
|
|
read a
|
|
echo "enter the b volue $b"
|
|
read b
|
|
if test "$a" -gt "$b" ; then
|
|
echo "$a is greater than $b"
|
|
else
|
|
echo "$b is greater than $a"
|
|
fi
|
|
|
|
# END # |