The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-06-2009
s_linux s_linux is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 81
How can I let other to run the script

Hi All,

I just wrote a small script called "test", put it in /home/bin and added to the path to run the script from anywhere. presently Im running this as a root. Then i logged in as my account and tried to run the script as i did with root. but it gave me command not found. if i type ./test then it works.

any ideas. Thanks