First page
Back
Continue
Last page
Overview
Handling Input
Use
read
to assign an input value to a shell variable:
echo -n "Enter the filename: "
read FILENAME
read
reads from standard input and assigns one word to each variable
Any leftover words are assigned to the last variable