summaryrefslogtreecommitdiffstats
path: root/test/shell_script_input_prompt.sh
blob: eb3a31374ee43abfe946fe6e74c25b175b2f350a (plain)
1
2
3
4
5
6
7
#!/bin/bash
# For testing subprocesses that require input
# Ask the user for login details
read -p 'Username: ' user
read -sp 'Password: ' pass
echo
echo Hello $user