Hi All,
I'm having to send this from Windows hell, but I can't do anything in my Linux environment.
I can log in, but every time I issue a command, I get told that it's not found. For instance, when I ran startx, it couldn't find the command. When I ran ls, it couldn't find the command. I even tried entering a path to the command, like /usr/bin/ls and /bin/ls, but to no avail.
Yesterday, I did a couple of things on the computer and don't know if that had anything to do with my problem.
First, I wanted to install my krecipes program which I retrieved via svn. When I tried to do that, I got told that for the present kde used unsermake instead of the gnu make utility. So, I installed unsermake and then did the "export PATH" thing to be able to use unsermake from where it was insalled. No perceivable problems after doing this.
Then, I did a yum update which installed a number of new KDE packages from the updates-released repository.
Today, I added a program which I installed via tarball and edited my .bash profile to make the permanent addition to my path. Then, I rebooted and now, no commands will work.
Any ideas what is going on here and what I have to do to fix it?
Regards,
Colleen
On Sun, 2005-07-31 at 12:38 -0400, Colleen Beamer wrote:
Hi All,
I'm having to send this from Windows hell, but I can't do anything in my Linux environment.
I can log in, but every time I issue a command, I get told that it's not found. For instance, when I ran startx, it couldn't find the command. When I ran ls, it couldn't find the command. I even tried entering a path to the command, like /usr/bin/ls and /bin/ls, but to no avail.
Yesterday, I did a couple of things on the computer and don't know if that had anything to do with my problem.
First, I wanted to install my krecipes program which I retrieved via svn. When I tried to do that, I got told that for the present kde used unsermake instead of the gnu make utility. So, I installed unsermake and then did the "export PATH" thing to be able to use unsermake from where it was insalled. No perceivable problems after doing this.
Then, I did a yum update which installed a number of new KDE packages from the updates-released repository.
Today, I added a program which I installed via tarball and edited my .bash profile to make the permanent addition to my path. Then, I rebooted and now, no commands will work.
Any ideas what is going on here and what I have to do to fix it?
Sounds like your PATH is screwed up.
Quick workaround:
PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
What did you put in your .bash profile?
Paul.
Colleen Beamer wrote:
I can log in, but every time I issue a command, I get told that it's not found. For instance, when I ran startx, it couldn't find the command. When I ran ls, it couldn't find the command. I even tried entering a path to the command, like /usr/bin/ls and /bin/ls, but to no avail.
Today, I added a program which I installed via tarball and edited my .bash profile to make the permanent addition to my path. Then, I rebooted and now, no commands will work.
Hi Colleen,
It sounds as if your $PATH is hosed. Can you paste the relevant info from your .bash_profile.
On a long shot, did you by chance do something like...
"export PATH=/path/to/new/program"
...when you should've done something like...
"export PATH=$PATH:/path/to/new/program"?
-j