forked from techarkit/shell-scripting-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagtb.sh
More file actions
20 lines (18 loc) · 389 Bytes
/
agtb.sh
File metadata and controls
20 lines (18 loc) · 389 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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 -e "enter the a value: \c"
read a
echo -e "enter the b value: \c"
read b
if test "$a" -gt "$b" ; then
echo "$a is greater than $b"
else
echo "$b is greater than $a"
fi
# END #