Created
January 6, 2022 12:01
-
-
Save stefan-vatov/6b34397d9d152351a57e5fc18cedb189 to your computer and use it in GitHub Desktop.
[bash script user input] get user input from bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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