[PLUG] 2.6.19 or later, amd64

Jason Martin nsxfreddy at gmail.com
Tue Mar 27 05:41:02 UTC 2007


On 3/26/07, John Jason Jordan <johnxj at comcast.net> wrote:
> > > And that reminds me of another thing that would make my life easier.
> > > How can I fix Fedora so I don't have to type /sbin/ in front of just
> > > about every command? That is getting tiresome. A link? (Not an expert
> > > on links.) A dos-like path statement? If so, where does it go?
>
> > cd to your home dir and then edit or add the file .bash_login
> >
> > in that file type the following
> >
> > export PATH=$PATH:/sbin
> >
> > save the file and then when you open a new terminal you should be good to
> > go, if don't want to close and re-open a terminal you can type
> >
> > source .bash_login and you'll be good to go.
>
> Thanks. That doesn't work -- if I open a new terminal it still doesn't
> let me type commands that are in /sbin. But it does work if I first type
> source .bash_login.

You need to log out of the graphical session and log back in to get it
to take effect in new terminal windows.

Jason



More information about the PLUG mailing list