>   Dear friends
>         Default profile in RedHat 6.0 is:
>                 PATH="$PATH:/usr/X11R6/bin"
>         is that a complete path to all programs in the : /bin, /usr/bin, and 
>/usr/local/bin:
>   and if not, how should we do this.

Check your path with "echo $PATH"

The system bash profile is at /etc/profile
The system bashrc is at /etc/bashrc
The user bash profile is at $HOME/.bash_profile
The user bashrc is at $HOME/.bashrc

To reparse these files after editing, logout/login or use "source
filename" where filename is the file you want to reparse.

Note: if you choose the logout/login method, you have to do that on the
controlling terminal (important if you're running X, since X uses
subshells (ala XTerm and rxvt) and not login shells). Also, when a
program runs, it inherits the current environment, so edits/reparses of
those files will not effect processes unless they are restarted or inherit
the new environment... or whatever I'm trying to say :)

I hope that this helps a bit :P



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to