Today's Command Line Basics focuses on Navigating the File System with the cd command.
cd stands for change directory. The cd command on its own will take you to your home directory (/home/userid/). If you have a directory in your home called Documents, then cd Documents will take you there. Following are the basic uses of cd.
cd |
change to your home directory |
cd /tmp |
change to the /tmp directory |
cd ~/Documents |
change to /home/userid/Documents from anywhere |
cd .. |
move up one directory in the structure |
cd - |
change to the last directory you were in |
#
One of the things I regularly use is aliases. check out this
http://srhegde.blogspot.com/2009/05/bash-aliases.html
#
Thanks for the comment. I was actually thinking of covering aliases next.