Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- read -p 'What do you want to do?' response
- case "$response" in
- 1)
- echo "You've selected 1";;
- 2)
- echo "You've selected 2";;
- 'kill something')
- echo "You've selected 'kill something'";;
- esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement