Problem Statement
Which command reads user input into a variable?
Explanation
The read command takes user input and stores it in a variable.
You can use the -p flag to display a prompt before reading the input.
Code Solution
SolutionRead Only
read -p 'Enter your name: ' username