feed-image  ISSN 1836-5930



Receive Your Complimentary Guide to Linux NOW!


A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)




Poll

Do you care about your privacy when using a FACEBOOK?
 

linuxconfig.org
is hosted by:



Partner Linux Sites
TuxMachines
DebianAdmin
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
FreeSoftwareLinux
All For Linux

cd
Article Index
1. Name
2. Frequently used options
3. Examples
4. Relative Path
5. Absolute Path

1. Name

cd  - change directory

2. Frequently used options

-     change to previous directory   

3. Examples

In unix systems there two most frequently used commands, one is "ls" and the other is "cd". Command "cd" allows us to navigate through file system. To navigate to /etc/ directory simply enter:
$ cd /etc 
change directory with cd command
To navigate to previous directory we can enter:
$ cd -  
navigate to previous directory
By entering cd without any arguments navigate to home directory:
$ cd 
navigate to home directory

4. Relative Path

cd command and Relative Path

5. Absolute Path

cd command and Absolute Path