I am writing a script which requires user input. How can I prompt for user input to use in my bash script.Thanks for your offer to help. I'm very grateful.
Hi,
You can use read command in bash where input will be set into a bash variable. Read -p "What is your age" age in this example the user input value will be set into age.
Referance: https://www.poftut.com/prompt-input-bash/