Difference between revisions of "Shell scripting tutorial"
From Linuxintro
Line 14: | Line 14: | ||
= See also = | = See also = | ||
* [[bash]] | * [[bash]] | ||
− | * [[ | + | * [[shell]] |
* [[scripting]] | * [[scripting]] | ||
* [[bash Operators]] | * [[bash Operators]] | ||
+ | * http://en.wikibooks.org/wiki/Bash_Shell_Scripting |
Revision as of 23:52, 1 January 2012
Hello world
echo "hello world"
#!/bin/bash echo "hello world"
input
echo "what is your name? " read name echo "hello $name"
Note that the variable is called $name, however the correct statement to read it is
read name