[SOLVED] "Command not found" for all but pwd and echo, PATH is empty
location: linuxquestions.com - date: March 1, 2011
I logged into my Red Hat Enterprise Linux machine at work (use it for software development) and the primary GUI does not load. Instead, widgets appeared for xclock, xterm, and Firefox. In the terminal, I start typing in commands to try to figure out what's going on, but all commands are not found except pwd and echo. I 'echo $PATH' and that returns just an empty, blank line. 'echo $SHELL' lets me know I'm using cash.
The likely cause was my attempt to install Adobe Reader Firefox plugin yesterday. After it downloaded, I ran the binary but Firefox didn't seem to recognize that I had installed it, so I went into my .cshrc file and added the adobe folder to the path. That didn't seem to work, so I gave up, deleted the binary and the folder I installed to, and removed that directory from the path in the .cshrc file. This last thing (the export PATH line in that file) I'm certain is back exactly as it was before.
I have successfully added the /bin and /usr/bin back to the path from co
sudo: cd: command not found
- date: October 14, 2009
:~$ cd /etc/chatscripts
bash: cd: /etc/chatscripts: Permission denied
:~$ sudo cd /etc/chatscripts
[sudo] password for t0p:
sudo: cd: command not found
:~$ sudo -s
:~# cd /etc/chatscripts
How come 'sudo cd' doesn't work?
cd.. command not found?!?
location: linuxquestions.com - date: October 1, 2004
I just installed Fedora Core 2. I opened up the terminal and tried to back up with cd.. and it said command not found?!? Help!!!!!!!!!!!
Export: command not found
location: ubuntuforums.com - date: November 24, 2012
This may seem like a dumb question, but I've been looking for an answer and I couldn't find a specific one. So, whenever I open the terminal, I get this:
Žexport: command not found
What should I do to solve this?
make: i686linuxgcc: Command not found problem in building kernel
location: ubuntuforums.com - date: August 15, 2012
i am trying to build a kernel linux-3.6 rc1 bt in buildng the kernel when i ran following command
make CROSS_COMPILE = i686 - linux -ARCH = i386
i got following error.
/home/abc/Desktop/softwares/linux-3.6-rc1/scripts/gcc-version.sh: line 25: i686-linux-gcc: command not found
/home/abc/Desktop/softwares/linux-3.6-rc1/scripts/gcc-version.sh: line 26: i686-linux-gcc: command not found
make: i686-linux-gcc: Command not found
make: Nothing to be done for `all'.
make: Nothing to be done for `relocs'.
any suggestions to get me out of this..
bash: ls: command not found
location: linuxquestions.com - date: October 22, 2004
This is the first time to post my question here.
In Fedora core 2, I got following error when I only logged in as "root".
"-bash: ls: command not found"
I think all bash commands are having problems.
However, the other user ids seem fine for the commands.
How can I fix this problem?
Please help me out!!
I really appreciate it.
locate : command not found
location: linuxquestions.com - date: July 24, 2008
locate, whereis commands are not working on my centos box. When ever i give locate file_name the out put is locate:command not found.
After this i tried to install it by giving
yum install locate
the output is
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
Please help me in this issue.
Please also tell me how can we find rpm package for a command, so that when ever it says that this command not found i can directly install the package so that it works.
error:linux/module.h not found
- date: November 18, 2010
hello to everybody,
i tried to load a simple driver program.i m using RHEL5.when i tried to compile my 'driver.c' program it shows the following error:
~]# gcc -c device.c
device.c:1:25: error: linux/module.h: No such file or directory
device.c: In function ‘init_module’:
device.c:6: error: ‘KERN_INFO’ undeclared (first use in this function)
device.c:6: error: (Each undeclared identifier is reported only once
device.c:6: error: for each function it appears in.)
device.c:6: error: expected ‘)’ before string constant
device.c: In function ‘cleanup_module’:
device.c:12: error: ‘KERN_INFO’ undeclared (first use in this function)
device.c:12: error: expected ‘)’ before string constant
printk(KERN_INFO "Hello JAMES\n");
[SOLVED] man command not found on a Fresh Installation of RHEL 5
location: linuxquestions.com - date: August 31, 2009
This evening I reinstalled RHEL 5 on my system and as I was in a hurry leaving for office so I could not check whether the installation was properly done or not. So, I just tried some commands to see if it was functioning properly. When I tried the following command:
there was an error saying that the command was not found. So, I take it for granted that man pages ddin't get installed...? I tried man command with some other 1 or 2 commands but it didn't work. Should I install RHEL 5 again? (Oh! I am tired now!)
Is there anyway to verify whether Linux has been properly installed or not with all its functionalities and features/options selected at installation time?
bash: man: command not found
location: linuxquestions.com - date: June 24, 2008
every time im trying to man a command, for example: man ls, i get; bash: man: command not found.
please help me out.
Page: 1 2 3 4 5 6 7 8 9 10