| title | cd Linux Command |
|---|---|
| description | cd command is used to change the current working directory |
| created | 2019-08-21 |
| updated | 2023-10-12 |
cd command is used to change the current working directory
cd /path/to/new/directory cd /cd ~cdFor example lets take following is your directory structure
├── images
├── movies
│ ├── action
│ └── comedy
└── music
and let's say you are in movies currently, so to go to action you can simply run the following command
cd action├── images
├── 'My movies'
│ ├── action
│ └── comedy
└── music
cd My\ moviescd .. cd -