Depends on a couple of things. Different shells will do it differently, for
one thing.

If you are using the bash shell and just want to change the path
temporarily, do it from the command line with a line like this:

export PATH="$PATH:/something/else:/something/yet/else"

If you want to change the PATH for a particular userid permanently, put a
similar line in the user's .profile or .bashrc file

If you want to change the PATH for all users, edit the entry in /etc/profile
. Or you might need to edit the PATH entries in /etc/login.defs, depending
on the details of your system.

At 01:56 AM 4/16/99 -0700, Shane McKeown wrote:
>Can anyone tell me how to set the path on Linux.
>I am using RH5.1 2.0.36.
>
------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
762 Garland Drive
Palo Alto, CA  94303-3603
650.328.4219 voice                              [EMAIL PROTECTED]        
----------------------------------------------------------------

Reply via email to