Discussion in 'Shell Script' started by Gabriel9999, May 2, 2019.
I am writing a script which requires user inpu. How can i prompt for use in my bash script.
You can use read command in bash where input will be set into a bash variable. Read -p "What is your age" age In ihis example the user input value will be set into age.
Reference : poftut.com/prompt-input-bash/
Separate names with a comma.