How to use cd command in Linux

preview_player
Показать описание
Linux Tutorial | In this video you will learn how to change the directory by using cd command in Linux & Unix with different examples.

cd command is a Unix/Linux command which is used to change the directory or folder of terminal's shell.

cd : Typing this command by itself returns you to your home
directory.

cd ~ : Takes you to your home directory.

cd / : Change to root directory.

cd .. : Change to parent directory of your current working directory or to go one folder up from your current working directory.

cd ../.. : To go two folder up from current working directory.

cd technical_Junction : Change to sub-directory technical_Junction .

cd /home/youtuber/technical_Junction : Change the directory with absolute path .

cd - : Toggle between current working directory and previous
working directory.

You can also watch following videos regarding Linux command.

1. How to use date command in Linux

2. How to use cal command in Linux.

3. How to use who & whoami command in Linux.

4. How to use pwd command in Linux.

Рекомендации по теме
Комментарии
Автор

Very good presentation and very informative. I always get messed up when I have to use cd in the command line and forget about the quotes for a folder with a space its name. Now I won’t forget. Well done.

Roset
Автор

Liked videos.... i want more video for unix

chandravirsingh
Автор

Rohit sir pls continue your serious, till now I watch up to 5.... I search nx but not get.

vishalupadhyay