What?  Just anywhere?

Trying it at the end of the file...

Ok, great.  It works...

Thanks!

<t>

On Wed, 2003-03-05 at 18:10, [EMAIL PROTECTED] wrote:
> On Thu, 5 Mar 2003, Tim Willis wrote:
> 
> > I've been trying to add /usr/sbin and /sbin to my path by doing export
> > PATH=$PATH:/sbin:/usr/sbin.  However, it seems to only work for the
> > current terminal session.  When I re-open the terminal and echo $PATH,
> > the two directories are gone from my PATH.
> 
> You can add...
> 
> PATH=$PATH:/sbin:/usr/sbin
> 
> to your .bashrc file.
> 
> >
> > I've looked at the .bashrc in my home directory, and all I see is the
> > following:
> >
> > if [ -f /etc/bashrc ]; then
> >     . /etc/bashrc
> > fi
> >
> > I've looked at /etc/bashrc, but can't tell where to edit the actual
> > path.  What am I doing wrong?
> >
> > I want to add these so I can run ifconfig and traceroute without having
> > to cd to their relative directories.
> >
> > Thanks!
> >
> >
> 
> -- 
> http://www.shorewall.net/  for all your firewall needs
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
-- 
J. Tim Willis
“A Computer without Windows is like a chocolate cake without mustard.”



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

Reply via email to