BASH inbuilt VARIABLES for easy scripting
Written by anil on Sunday, July 15th, 2007 in Bash Scripting, Linux.
"BASH inbuilt VARIABLES for easy scripting" as the title says this small tutorial will make bash scripting easier. Do you know its possible to control "for" loop if you set a inbuilt variable . . . I won't say that variable now …. Please continue reading to know that ….
First we start with $0 $1 .. $9, $*, $@ and $#. To explain these variables lets write a simple script called "test-param.sh".