PDA

View Full Version : [xubuntu] cannot run commands such as cd/ and ls~



pympnplaya
May 1st, 2008, 10:21 AM
i cannot run any commands in terminal without getting "-bash: : command not found". i have been searching for answers and have only come up with my path or shell or something is wrong but i do not know how to fix it. when i type "echo $PATH", it returns "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" which i am guessing is not what it is supposed to return. i am a newbie to xubuntu, please help thanx.

aeiah
May 1st, 2008, 10:30 AM
.

mikeyphi
May 1st, 2008, 10:30 AM
Hi there!
Your PATH is OK....
Your CD/ should read CD /
likewise ls should have a 'space' before the next bit of code

Bothered
May 1st, 2008, 10:32 AM
There should indeed be a space between commands and their arguments. Also, your PATH environment variable looks normal.

sayakb
May 1st, 2008, 11:29 AM
The path environment variable is okay. Plus, the CLI commands are case sensitive, and you should reconsider the "space" you leave after the cd and ls commands.

pympnplaya
May 2nd, 2008, 07:09 AM
well that was easy enough, thank you everyone!