DEV Community

Stack All Flow
Stack All Flow

Posted on • Originally published at stackallflow.com on

How to CD Into a Directory in the Home Folder in Ubuntu?

cd-commandcommand linedirectoryhome-directory

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.

Accepted Answer

cd ~/Downloads

Enter fullscreen mode Exit fullscreen mode

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.

The post How to CD Into a Directory in the Home Folder in Ubuntu? appeared first on Stack All Flow.

Top comments (0)