[Ilugc] how to run a software from terminal
sbharathi at MidasComm.com
Thu Mar 25 21:53:47 IST 2010
> I had a doubt about how to run a software from terminal itself.
You can run any program from the (Console/GUI) terminal. If that
program needs X then you should run it from GUI terminal.
When a program name entered @ prompt, then shell search for that
program in the pre-defined PATH (echo $PATH) and run it. If it is
not in the PATH, then shell show "command not found" message.
To run a program, which is not in the PATH, go the program folder
(cd /usr/local/mydir) and run (./prgName) or give the full path
To run it like any other commands, add this folder to the PATH
(export PATH=$PATH:/usr/local/mydir). To know more about PATH, read
More information about the ilugc