Skip to content

Instantly share code, notes, and snippets.

@fabriziogiordano
Created January 20, 2016 17:41
Show Gist options
  • Select an option

  • Save fabriziogiordano/6f20d6f48ba8541cc382 to your computer and use it in GitHub Desktop.

Select an option

Save fabriziogiordano/6f20d6f48ba8541cc382 to your computer and use it in GitHub Desktop.
read input command line
read -n 1 -p "Continue: [y/n]?" _continue; if [ "$_continue" = "y" ]; then printf "\nYou choose Y\n"; fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment