advanced code snippet search
jlmarks on 03/30/14
confirm Bash continue confirmation sure
read -p "do you want to continue?" -n 1 -rif [[ $REPLY =~ ^[Yy]$ ]] then #do whatever you are checking on fi
Report this snippet
You need to login to post a comment.