Advertisement
codeido

Solaris prog6

Jan 22nd, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.32 KB | None | 0 0
  1. #! /bin/bash
  2.  
  3. name=eido
  4. age=20
  5. phone=052-683-1234
  6.  
  7. echo Your name is $name
  8. echo Your age is $age
  9. echo Your phone is $phone
  10. echo Please wait 3 seconds to clear
  11. sleep 3
  12. clear
  13.  
  14. echo Enter your last name
  15. read name
  16.  
  17. if (test "$name" == "askayo")
  18. then
  19.     echo $name is Good name!
  20. else
  21.     echo $name is Bad name!
  22. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement