broken $PATH
Hi,
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 Whoops!! Any hints would be greatfully received. Thanks |
Use
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). |
Thanks!!
Appreciate it. |
All times are GMT -5. The time now is 06:25 AM. |