Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

read input from stdin bash script

read -p 'Username: ' uservar
read -sp 'Password: ' passvar
Source by ryanstutorials.net #
 
PREVIOUS NEXT
Tagged: #read #input #stdin #bash #script
ADD COMMENT
Topic
Name
1+6 =