Posts which you will also like.

Wednesday, December 1, 2010

Basic UNIX/LINUX command:cd command

This command is same as MSDOS cd command which is used for changing directories.

cd:

Command Switch Result
cd ~ username Switches home directory of user
cd Switches to home directory of current user
cd ~ toggles between current and previous directory
cd Desktop / Changes to relative directory desktop
cd .. Changes to one level up in the directory tree
cd ../.. Changes to two level up in the directory tree

No comments:

Post a Comment

Your comment may wait for moderation....

DMCA.com Protected by Copyscape Online Plagiarism Tool