Advertisement
Guest User

Untitled

a guest
Oct 6th, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. read -p 'What do you want to do?' response
  2.  
  3. case "$response" in
  4. 1)
  5. echo "You've selected 1";;
  6. 2)
  7. echo "You've selected 2";;
  8. 'kill something')
  9. echo "You've selected 'kill something'";;
  10. esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement