cd Command

Change directory command.
cd command changes working directory in current shell.
Change the current directory to giving directory as parameter. Default folder is user's home folder.
When opening terminal (if command line doesn't open in a special or selected folder) and if no adding any parameter, only cd command goes to home folder ( like cd ~ command).

Basic Usage:
cd folder

Examples:
cd bbb
Enter bbb folder which in same folder.

cd ..
Enter one up folder.

cd /
Enter root directory.

cd /home/asa/aa/bb
Enter bb folder in aa folder.

cd /*/*/A*
Enter directory is third level and first word is A. (if it's a directory)

help cd
Show help pages.


Above process applied on "GNU bash, version 4.3.11(1)-release (i686-pc-linux-gnu)"
Date of Article: 21.02.2016




HOME GNU/LINUX Commands TURKISH