Bash Programming – Read user input

May 29, 2014 | By | 1 Reply More

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



Tags: ,

Category: Programming

Comments (1)

Trackback URL | Comments RSS Feed

Sites That Link to this Post

  1. Bash Programming – if Else fi | Linux, Forex and GIS | May 29, 2014

Leave a Reply

%d bloggers like this: