Interview Questions

How will you read user input using Shell script?

Use "read" command to get the user input.

echo "Enter you Name"
read name
echo "Name entered is $name"