RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

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

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

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

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
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 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 

change directory with cd command
To navigate to a previous directory user can enter:

$ cd -  

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

$ cd 

navigate to home directory

4. Relative Path

cd command and Relative Path

5. Absolute Path

cd command and Absolute Path

Share this linux post:

Submit cd in Delicious Submit cd in Digg Submit cd in FaceBook Submit cd in Google Bookmarks Submit cd in Stumbleupon Submit cd in Technorati Submit cd in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.


Linux eBooks FREE Download