Linux Training Online - Using the Linux cd Command to Change Directory in the Linux File System

May 10 17:51 2007 Clyde Boom Print This Article

This Linux training online tutorial describes and shows you how to run the Linux cd command using popular, commonly used command options. Learn the essentials of how to use popular Linux commands! All of the Linux command examples in this Linux tutorial below have been designed to work with all Linux distributions (versions).

As a new Linux user looking for Linux training,Guest Posting you need to learn how to use Linux commands. And one of the most commonly used Linux file system commands is the cd (change directory) command.

Using the Linux cd Command

The Linux cd (change directory) command is used to change from your current directory (folder) into a different directory.

You need to change into a directory with the cd command to do Linux administration tasks like:

create a new file or remove an existing file

copy or move a file to a different directory

edit and modify a file, such as a Linux text configuration file for a Linux server

create a new directory or remove an existing directory

copy or move a directory to a different directory

Linux cd Command Example - Changing into a Directory Below the Current Directory

To change directory into a directory "below" the current directory, you type in cd and a space and the name of the directory you want to change into.

For example, to change into a directory named "letters" below the current directory, you run the following command.

]$ cd letters

To change into a different directory, below the current directory, just replace "letters" with the name of the directory.

Linux Tips: A directory inside the current directory is considered "below" the current directory, and is called a subdirectory.

Linux cd Command Example - Changing Directory Up One Directory (Level)

To change directory up one directory (level), you type in cd and a space and then two dots (periods).

For example, if you have moved into the directory named "letters" and want to go back (up) to your previous directory, you run the following command.

]$ cd ..

Linux Tips: The directory above the current directory is also called the "parent" directory.

Beyond This "Linux Training Online" Article

The Linux cd command is used in many other ways to navigate around the Linux file system.

To continue your Linux training, you also need to learn how to use the cd command to: change to the root directory, change directory using an absolute path, and also easily change into a directory parallel to the current directory.

You can clearly and easily see all of the Linux concepts and commands shown above (and lots more!) by watching a Linux video tutorial.

With this method of Linux training, you can see how to use a Linux command step-by-step and also hear how to run the command. This is a very easy way to learn how to use Linux.

Source: Free Guest Posting Articles from ArticlesFactory.com

About Article Author

Clyde Boom
Clyde Boom

Watch Free Sample I Learn Linux Video Tutorials now at http://www.iLearnLinux.com and get over the steep Linux learning curve (afa). Sign up for Free I Learn Linux News to receive technical tips, info on new video samples and important updates on Linux. You need to learn Linux the easy way to get that new job, qualify for that next promotion, earn a hefty raise, get Linux certification, or keep your current job because your company is trying to save on software licensing fees. Watch, do, and learn Linux now! Clyde Boom, Expert Linux Trainer with 20+ Years of Training Successes. Explains intricate technical matters in an easy-to-understand, non-technical manner, with tens of thousands of software and hardware learners into masters.

View More Articles