Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a directory in Desktop named Project. I tried opening it using the cd command but it is not opening. What's the reason?

Check the screenshot. The directory has all the required permissions.

I tried with the root user also, but facing the same problem.


share|improve this question
Can you do your screenshot with Alt+PrintScreen. It's not visible this way, forcing me to open it in a new Window. Nice background BTW. – Tshepang Jul 17 '11 at 18:14
up vote 28 down vote accepted

It looks to me like the Project directory has a space at the start of it, so try:

cd " Project"

If it's something other than a space (say a tab) then

cd *Project

should do the trick.

share|improve this answer

There is a white space before Project.

Try this:

cd \ Project


cd ' Project'


cd " Project"
share|improve this answer

There seems to be an extra space, try:

$ cd " Project"
share|improve this answer

Looks like the directory starts with a space. Try cd \ Project

share|improve this answer

Am I the only one who thinks the OP's screen snapshot is a bit strange?

"ls -ll" should sort by filename. If the "Project" file began with some invisible character than looks like a space, why does it sort between "perl" and "Screenshot.png"?

If I go into any directory and do "mkdir ' Project'", then "ls -ll" sorts it at the top of the list.

This looks like a listing produced by "ls -lt".

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.