Bash Programming – Read user input

First of all, this is not a tutorial. This is my note on my Bash programming leraning. Its better to write any of my progress on learning this Bash on this blog. :)

Read User Input:

#Read user input
echo “What is your name ?”
read name
echo “My name is: ” $name
exit 0

bash-read user input

Now build or make the program executable

chmod +x




One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *