jesseduffield_lazynpm/test/shell_script_input_prompt.sh
2020-04-05 14:11:21 +10:00

8 lines
166 B
Bash
Executable File

#!/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