ok, take a look at a variable that is set automatically for linux:
to show its content, type "echo $PATH"..
you'll see a list of directories separated by a ":"
every executable that is in one of those directories will be executed if you just type their names..
for example /sbin/lilo is an executable, and /sbin is in the PATH..
you just have to type lilo and it's executed
If you want to add your own directory to the PATH, do this:
but that applies only for your current session, if you want it to apply for all the others,
you have to edit the file /etc/profile..
search for the lines containing the PATH content and add your dir to this group of dirs..
DON'T forget that the directories must be separated by ":"
Last edited by JoannesX; 02-19-2005 at 07:12 AM.