#!/bin/bash
# Ask the user for login details
read -p 'Username: ' uservar
read -sp 'Password: ' passvar
echo
echo Thankyou $uservar we now have your login details
Last active
December 17, 2019 08:18
-
-
Save marsyang1/f44690f4af1b8005c7fc92c1decd09c0 to your computer and use it in GitHub Desktop.
bash note
This file contains hidden or 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
| #!/bin/bash | |
| # Ask the user for login details | |
| read -p 'Username: ' uservar | |
| read -sp 'Password: ' passvar | |
| echo | |
| echo Thankyou $uservar we now have your login details |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment