title | description | created | updated |
---|---|---|---|
cd Linux Command |
cd command is used to change the current working directory |
2019-08-21 |
2023-10-12 |
cd
command is used to change the current working directory
cd /path/to/new/directory
cd /
cd ~
cd
For 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\ movies
cd ..
cd -