Shell Programming Forums - Wallpaperama http://www.wallpaperama.com/forums/linux-shell-programming-f32.html this part of the wallpaperama forums is to learn about how you can program with the linux shell prompt en creating a linux shell script with variable with user input form prompt to enter data Fri, 12 Feb 2010 23:45:14 -0800 creating a variable wit user input at the command line, we can create variables explicityly by telling the shell the name of the variable and the value of assign. to do this, just follow these steps on my tutorial for you to learn how to program in linux 1. run these commandsa=1650 echo $athe sh family of shells also creates variables with input read from the user. 2. enter this commandread xxxNo prompt is displayed but the shell is waiting for input from you 3. enter this commandWallpaperama 4. enter this commandecho $xxxa new <a href="http://www.wallpaperama.com/forums/creating-a-linux-shell-script-with-variable-with-user-input-form-prompt-to-enter-data-t1213.html">..... Read More </a> [ This Post Has 2 Comments ] http://www.wallpaperama.com/forums/creating-a-linux-shell-script-with-variable-with-user-input-form-prompt-to-enter-data-t1213.html programming with linux shell tutorial by example passing arguments to a script Fri, 12 Feb 2010 23:45:14 -0800 in addition to the nuilt-in variables, the shell is programmed to interpret special variables names. just follow these steps and it will show you how you can start making simple shell script on this short tutorial to show you how you can program in linux shell step 1. create a file called my_script nano my_script step 2. add the following lines and save the file echo hello $USER echo 'The contents of variable $1 is ' $1 echo 'The contents of variable $2 is ' $2 echo 'The contents of variable $3 is ' $3 echo 'The contents of variable $ <a href="http://www.wallpaperama.com/forums/programming-with-linux-shell-tutorial-by-example-passing-arguments-to-a-script-t1212.html">..... Read More </a> http://www.wallpaperama.com/forums/programming-with-linux-shell-tutorial-by-example-passing-arguments-to-a-script-t1212.html