Complete the code to read a user's name into the variable 'name'.
read [1]The read command stores the input into the variable you specify. Here, name is the variable to hold the user's input.
Complete the code to prompt the user with 'Enter age:' before reading input into 'age'.
read -p "Enter age: " [1]
The -p option shows a prompt before reading input. The variable age stores the input.
Fix the error in the code to read two variables 'first' and 'last' from one input line.
read [1] [2]
To read multiple variables from one line, list them separated by spaces without commas or semicolons.
Fill both blanks to read input into 'username' and 'password' variables with a prompt.
read -p "Enter [1] and [2]: " [1] [2]
The prompt and variables must match. Use 'username' and 'password' consistently in prompt and variables.
Fill all three blanks to read three variables 'city', 'state', and 'zip' from one input line.
read [1] [2] [3]
List all variable names separated by spaces to read multiple inputs in one line.