Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- host=133.3.147.8
- ask_user(){
- read -p "$1($2): " input
- if [[ $input ]]; then
- $2=$input
- unset input
- fi
- }
- ask_user "Host" host
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement