-   Linux - Newbie (
-   -   broken $PATH (

tantric 11-22-2003 04:48 PM

broken $PATH

I have accidentally wiped out all the entries in my $PATH variable

Is there anyway I can restore it? I can't run anything now!

I was using the export $PATH= command to add another, then it wiped all all that was there before


Any hints would be greatfully received.


Mara 11-22-2003 04:52 PM

export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11/bin:$PATH

When you're changing PATH, remeber to use $PATH somewhere. It puts old PATH content into the new one (in the example above, at the end).

tantric 11-22-2003 05:38 PM


Appreciate it.

All times are GMT -5. The time now is 06:51 AM.