[ILUG] Commands have stopped working
Gavin McCullagh
ilug_gmc at fiachra.ucd.ie
Tue Jan 6 14:47:47 GMT 2004
Hi,
On Tue, 06 Jan 2004, Conor_D_Wynne at Dell.com wrote:
> >> export PATH=$PATH:/bin:/sbin:/usr/bin:/usr/local/bin
> >> And try a command, if successful, then edit the file yerself.
>
> you wrote:
>
> > well, you'll have to either restart bash or have it re-read
> > your .bashrc.
> >
>
> Well if you export a path, its instant, no need to restart bash. In fact,
> I'd say if you restarted bash then it'll read the file again and you will
> likely loose the current path. Never tested this but I know that the path is
> instant. Certainly if you do an "su -" it will re-read it.
sorry I read your
> > > vi it instead.
and misunderstood that you meant add it to .bashrc
GAvin
More information about the ILUG
mailing list