Bash: Reading Input
The read command is a builtin command that reads from the standard input. By default, it reads until a newline is received. The input is stored in one or more variables given as arguments: read var If more than one variable is given, the first word (the input up to the first space or tab)…