4

Running Ubuntu 12.04, while in a terminal, I type ls and see list of folders, including the downloads folder. I then type cd downloads, press Enter. I get:

bash: cd: downloads: No such file or directory

I tried each folder, on two computers. What am I missing?

Eliah Kagan
  • 119,640
Rich Dell
  • 121

4 Answers4

18

Linux file and directory names are case-sensitive. The default name of the downloads directory in Ubuntu is Downloads not downloads.

Zanna
  • 72,312
Samik
  • 2,660
3

To make Bash behave case-insensitively, edit your ~/.inputrc (create it if it doesn't exist) and add

set completion-ignore-case on

start a new shell (type bash or close the terminal and open a new one) or source ~/.inputrc, and then try

cd dowTab

and watch it complete to

cd Downloads/
Zanna
  • 72,312
1

You need to observe two things:

  1. Spelling of the word i.e. you should type Downloads not downloads.
  2. Downloads folder must be in Home directory
C Siam
  • 11
0

It should cd Downloads with a capital D.

penreturns
  • 5,950