Facebook
From Big Pintail, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 52
  1. echo "Enter two number"
  2. read a
  3. read b
  4. if [ $a -gt $b ]
  5. then
  6. echo "$a is greater"
  7. else
  8. echo "$b is greater"
  9. fi