2
~$ cd downloads
bash: cd: downloads: No such file or directory
~$ ls
Desktop    Downloads         Music     Public     Videos
Documents  examples.desktop  Pictures  Templates
~$ cd downloads
bash: cd: downloads: No such file or directory

Why is the directory not being changed?

11

In Linux file names are case sensitive. The directory isn't named downloads but Downloads.

|improve this answer|||||
  • kind of feeling stupid of asking this question. thank you very much sir. – Enharmonic Melodies Feb 26 '15 at 20:30
  • Linux can have case-insensitive file systems (for example if you mount a FAT32-formatted USB thumb drive), but most Linux file systems are case sensitive. – Keith Thompson Feb 27 '15 at 2:16
9

Directories are case sensitive in Linux, run cd Downloads.

|improve this answer|||||
2

That's because Linux systems are case-sensitive. So to change bash's current working directory from ~/ to ~/Downloads run:

cd Downloads
|improve this answer|||||

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