Quick Links
About cd
Syntex
Options
Examples
Syntex
cd [-L|-P] directory
Options
-L Force symbolic links to be followed.
-P use the physical directory structure without following the symbolic links.
Examples
cd linuxreading.
The above example would change the working directory to the hope subdirectory if it exists.
cd ../home/users/linuxreading
The above example would traverse up directory and then down into the
/home/users/linuxreading subdirectory.
cd ../..
Traverse two directory up the directory tree.
About cd
Syntex
Options
Examples
About cd
Changes the shells working directory.Syntex
cd [-L|-P] directory
Options
-L Force symbolic links to be followed.
-P use the physical directory structure without following the symbolic links.
Examples
cd linuxreading.
The above example would change the working directory to the hope subdirectory if it exists.
cd ../home/users/linuxreading
The above example would traverse up directory and then down into the
/home/users/linuxreading subdirectory.
cd ../..
Traverse two directory up the directory tree.
No comments:
Post a Comment