Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

How do I change directories to downloads, from the home folder, in the latest version Ubuntu 12.10? I tried cd /downloads, but it gave an error saying that there is no such directory.

share|improve this question
cd ~/Downloads

Remember: Linux is case sensitive, so Downloads and downloads are different directories.

~ is a "shortcut" to the home directory. Another one would be $HOME. If you're already in your home directory you can just cd Downloads.

share|improve this answer

From the Downloads directory, you can quickly return to your home directory by simply typing cd at the command prompt. cd ~ does the same thing.

There two basic ways to get around in BASH: 1) Absolute Pathnames 2) Relative Pathnames

Absolute pathnames start at the root directory and lead to the destination. So you must spell out the whole path to where you want to go, for example

cd /home/<username>/Downloads

a shortcut for the above is cd ~/Downloads

The tilde (~) takes the place of /home/<username>

Relative pathnames start at the working directory (the one you're in). So if you know what directory you're in, you can use some shortcuts to get around:

. (dot) .. (dot)(dot)

you can use these symbols to navigate really quickly. (dot) refers to the working directory and the (dot)(dot) to the working directory's parent directory. You can use these to get around without having to type so much.

when you are in your Home folder and type cd Downloads you could also type ./Downloads The ./ is implied when you just type cd Downloads (working directory is implied if you don't include a pathname).

when you are in the cd Downloads directory, you could also use cd .. to return to the parent directory of Home. It is easiest to just type cd though. However, the .. becomes very useful when you are navigating through folders nestled in other folder on your computer.

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.