In the .bashrc file in your home directory
add the line

export PATH=$PATH:/usr/TeX/bin/i386

Then, execute the command source ~/.bashrc
source ~/.bash_profile, depending on which file
you added it to (I always add it to my .bashrc file.).

If you want to make it global, add it to the file
/etc/bashrc.

Tammy

On Wed, Dec 05, 2001 at 09:18:07PM -0500, Zbynek Houska wrote:
> Could anyone explain me how to edit my PATH?
> My .bash_profile contains following:
> # bash_profile
> 
> # Get the aliases and functions
> if    ( -f  ~/bashrc ), then
> .            ~/bashrc
> fi
> 
> export BASH_ENV=$HOME /bashrc
> 
> and .bashrc contains:
> 
> # bashrc
> 
> #Source global definitions
> if ( -r /etc/bashrc ); then
> .            /etc/bashrc
> fi
> 
> I would to like to add  applications which resides in /usr/TeX/bin/i386  
> ( of course bash does not recongnize command "tex").
> How to do it?
> Is it possible to change it for all usrs accounts?
> 
> Thanks      Zbynek
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

-- 



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

Reply via email to