Skip to content

Instantly share code, notes, and snippets.

@stefan-vatov
Created January 6, 2022 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefan-vatov/6b34397d9d152351a57e5fc18cedb189 to your computer and use it in GitHub Desktop.
Save stefan-vatov/6b34397d9d152351a57e5fc18cedb189 to your computer and use it in GitHub Desktop.
[bash script user input] get user input from bash
read USERNAME
echo $USERNAME
# Hidden
read -s PASSWORD
echo $PASSWORD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment