examples/script/read.sh
echo "What's your name?"
read name
echo Hello $name, how are you?

read one line from the standard input

$ ./examples/script/read.sh 
What's your name?
Foo
Hello Foo, how are you?