11

execution of a script

view full story
linux-howto

http://www.unix.com – Hi i have a small script like this Code:   $ cat test.sh #!/usr/bin/sh name="ram" echo ${1} set 1 2 3 4 5 6 7 8 9 0 123 o870 echo $9 echo ${12} when i am trying to execute like below i am not getting the output Code: jena samp_perl $ sh test.sh test.sh: This:  not found but when i executing like below i am able to get the output Code: jena samp_perl $ ./test.sh 1 1 9 o870 so may i know wt is the difference between two types of executions and why i am not able to get the output when i tried like this sh test.sh... please help me in this.. thanks in adv (HowTos)