
09-04-2009, 12:56 PM
|
|
Senior Member
|
|
Join Date: Jul 2009
Posts: 218
|
|
mistwang is right.
If you run /scriptnamehere it will try to run the file located directly in / (base folder) which if you do "ls / | grep scriptname" you will see it does not exist.
"./" signifies the current directory. If you do "cd ." you will see that you don't change to a different directory so ./scriptnamehere will run the script in the current folder. You can do "ls ./ | grep scriptname" and you will see that the file shows up 
|