typing cd ~/desktop returns error no such directory

Asked by Sameer

I can access the directories in GUI mode but when I try to change to the directory in terminal it returns an error no such directory.
On typing ls I can see the directories listed but cannont change to them using cd command.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Giorgio Wicklein (giowck) said :
#1

Desktop not "desktop" :)

big D

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#2

Linux is VERY case sensitive. Be wary. Giorgio is correct btw.

Revision history for this message
Sameer (sameer-orth) said :
#3

You desrve thanks a Ton.
Though it never occured to me.
Further I created a new directory in /home but now if I try to copy any thing it says permission denied,
I must tell you I am only 3 days old in Linux. So I may sound very silly, but please help me to stay with Ubuntu

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

How did you make the folder?

Revision history for this message
Sameer (sameer-orth) said :
#5

by cli mkdir
Sameer

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

did you use any of this

sudo su

stuff that idiots insist on using?

can you provide the output of

whoami
ls -l <the folder name you are having issus with>

Make sure you run these commands when the terminal is in the same folder as the one you created the folder you are having issues with

E.g.

If you made a folder on desktop named "data" and are having issues, make sure your terminal is in ~/Desktop before launching the ls command

Thanks