Introduction
The read command lets your script wait for the user to type something. It saves what the user types into a variable so your script can use it later.
When you want to ask the user for their name and use it in your script.
When you need to get a password or secret input from the user.
When you want to pause the script until the user presses Enter.
When you want to get multiple pieces of information from the user in one line.
When you want to read input from a file or another command.