Skip to content

Instantly share code, notes, and snippets.

@marsyang1
Last active December 17, 2019 08:18
Show Gist options
  • Select an option

  • Save marsyang1/f44690f4af1b8005c7fc92c1decd09c0 to your computer and use it in GitHub Desktop.

Select an option

Save marsyang1/f44690f4af1b8005c7fc92c1decd09c0 to your computer and use it in GitHub Desktop.
bash note
#!/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