|
How do I run a programme?
As in MS-DOS, simply type the name of the programme along with
any parameters, and press the enter key. Unlike MS-DOS, your shell
will only look in the PATH for the programme, so if '.' (current
directory) is not in $PATH the shell will be unable to
find the programme.
You can either tell the shell where to find the programme by
specifying the pathname (eg ../../usr/local/bin/foo or
./foo), or add the directory that contains the programme
to the path. (Hint:export
PATH=$PATH:/new/path)
|