Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RUN A PROGRAM FROM THE COMMAND LINE

Status
Not open for further replies.

need2no2

IS-IT--Management
Oct 28, 2005
1
US
I NEED TO KNOW HOW I CAN RUN PROGRAM FROM THE COMMAND LINE, THAT I HAVE INSTALL ON UNIX? WHAT IS THE COMMAND OR OPERATION THAT I NEED TO PERFORM?
 
um, type the name of the program...

# prog

If the program is not in your path, you need to specify the absolute path to the program when executing it (or add the directory to your path).

# /path/to/prog

If the program is in the current directory and the current directory is not in your path:

# ./prog

HTH,

Russ
bobbitts@hotmail.com
 
Right you are Danne!
And if it is not an executable he must run "chmod (prot needed) Filaname"

example:
To have everyone be able to execute pinghhh.sh
#chmod 777 pinghhh.sh

Carefull!--- My example sets access to this file to even the entire world! :)

L8ter!
Life is good!, live it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top