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?

0

3 Answers 3

11

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

2
  • kind of feeling stupid of asking this question. thank you very much sir. Feb 26, 2015 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. Feb 27, 2015 at 2:16
9

Directories are case sensitive in Linux, run cd Downloads.

2

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

cd Downloads

Not the answer you're looking for? Browse other questions tagged .