Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- PS3='
- Please enter your choice: '
- options=(
- "Password"
- "Server"
- "Quit"
- )
- select opt in "${options[@]}"
- do
- case $opt in
- "Password")
- echo "fluffyCat42" | pbcopy
- exit
- ;;
- "Server")
- ssh root@11.22.33.456
- exit
- ;;
- "Quit")
- break
- ;;
- *) echo Invalid option;;
- esac
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement