run(execute) file by name on solaris
two solaris machines with same versions.
I am able to execute script just by giving filename. same is not happening on other machine.
Ineed to give explicitly ./filename or . ./filename.
I could not understand why is thi difference.
I checked that there are some scripts on solaris 10 has some filename without './'. it is being executed very nicely. Only filename is given.. it is running perfectly. same is not running when i write the same script on solaris 10 but different machine. I need to write explicitly ./
Why is the difference?
Last edited by vaibhavs17; 08-24-2010 at 03:03 PM.