Run any Script without metioning the full path
Dear Friends ,
Suppose I make a script name "test" in "tmp" Directory . Now when I want to run this script then I run it in the following way :
"sh /mnt/test"
But i want to run this script like the following way :
"service test restart"
OR,
I want a situation where I can run my script from any place , not to mention the full path like(root~# sh test). Is it possible to do ?
If yes then plz tell me how can I do it ?Wating for your reply ....
Thx...........
|