Labels

Wednesday, November 16, 2011

Command--pwd and cd

Or print working directory using pwd command

[prompt]$ pwd

/home/dliu

cd Command

cd ..  or s go back one directory, .. directory corresponds to the parent directory

cd or cd ~   go back to home directory

cd /             moves to root

cd -  go back to one directory previously used like backward in windows explore     

No comments:

Post a Comment