Bash Scripting - User Input
Which of the following is the correct syntax to read a variable
user with a default value 'admin' if input is empty?user with a default value 'admin' if input is empty?read command takes input into user. To set a default if empty, use user=${user:-admin}.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions