Linux and Unix chdir command
Quick links
About chdir
Syntax
Examples
Related commands
Linux and Unix main page
Changes directory.
chdir [directory]
| directory | Name of the directory user wishes to enter. |
| cd .. | Used to go back one directory on the majority of all Unix shells. It is important that the space be between the cd and the .. |
| cd - | When in a Korn shell to get back one directory used to go back one directory. |
chdir public_html
Changes the directory to public_html.
