cd
Last Updated on Monday, 02 August 2010 10:41
| 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 most of the unix systems there are two most frequently used commands, one is "ls" and the other is "cd". Command "cd" allows a user to navigate through file system's directories. For example to navigate to /etc/ directory simply enter:
$ cd /etc

To navigate to a previous directory user can enter:
$ cd -

By entering cd command without any options and arguments user can navigate to home directory as specified in /etc/passwd file:
$ cd

4. Relative Path

5. Absolute Path
















