EzineArticles - Expert Authors Sharing Their Best Original Articles



  Submit Articles
  Members Login
  Benefits
  Expert Authors
  Read Endorsements
  Editorial Guidelines
  Author TOS

  Terms of Service
  Ezines / Email Alerts
  Manage Subscriptions
  EzineArticles RSS

  Blog
  Forums
  About Us
  What's New
  Contact Us
  Article Writing Shop
  Advertising
  Affiliates
  Privacy Policy
  Site Map


Advanced Search


Would you like to be notified when a new article is added to the Software category?

Email Address:


Your Name:


Prefer RSS?
Subscribe to the
Software
RSS Feed:

Using the Linux Ls Command With Examples to See System Directories - Linux Commands Quick Tips
Print This Article Ezine Publisher Send To Friends Add To Favorites Post A Comment Suggest Topic Report Author
CloseRecommend This Article
From:
To:
Message:

The Linux System Directories "Off Of" The / (Root) Directory

There are several important Linux system directories that are located "off of" the / (root) directory of the Linux filesystem.

Examples of Using the Linux ls Command to View Some Linux System Directories

Some of the directories below may not exist for your Linux distribution. If there is no output from the following commands, just read the descriptions and continue.

View the Linux system directories off of the / root directory.

    $ cd cd / ; ls -l | less

If necessary, use the down arrow to see more directories and press q to quit out of the less command.

Now change into the boot directory (that is off of the / directory) and look at its contents.

    $ cd /boot ; ls -l | less

This directory contains the kernel program file and other files used to boot a system. Press q to quit.

Now change directory back to the / (root) directory.

    $ cd /

You don't have to change into a directory to view the contents of the directory. You can use a path with a command, such as the ls command, to see the contents of a directory.

Now use the ls command to get a listing of the initrd directory by using a path, in this case the path of /initrd.

    $ ls -l /initrd

By default, the initrd directory is empty. It is used during the Linux boot process.

Do not put anything in this directory or remove it. If you remove this directory, your system will not boot and you will see a "kernel panic" error message.

The Linux system directory and command concepts covered here apply to ALL Linux distributions, including Red Hat, Ubuntu, openSUSE, SUSE, Debian, Fedora and Slackware Linux.

By the way...do you want to learn exactly how to use Linux and run Linux commands for Linux System Administration and get real, practical Linux training experience by running hundreds of examples of Linux commands?

Just click to download my free new Linux commands training course book and Linux audio podcast (.mp3) files here: Linux Commands Training Mini-Course

Clyde Boom says "Learn how to use Linux commands with easy, self-paced Linux training materials that show you how to run hundreds of examples of the essential Linux System Administration commands - and get that new and better job, promotion, raise - or keep your current job!"

You can get your instant access to my free Linux commands training course at: http://www.LinuxCommandsTrainingCourse.com

Article Source: http://EzineArticles.com/?expert=Clyde_E._Boom

Clyde E. Boom - EzineArticles Expert Author

Other Recent EzineArticles from the Computers-and-Technology:Software Category:

Most Viewed EzineArticles in the Computers-and-Technology:Software Category (60 Days)

  1. Windows 7 Runs Very Slow? - How to Speed Up Windows 7 Quickly and Fast
  2. How to Get Rid of Personal Security in Minutes - Let Personal Security Removal Help You
  3. Why My Computer is Running So Slow? How to Speed Up Computer - Fix Your Problem Instantly
  4. Speed Up Slow Computer - How to Make Your Computer Run Faster? Fix it in Seconds!
  5. Malware Defense Removal - How to Delete This Spyware Off Your Computer
  6. Keylogger Software - Catch Your Cheating Spouse Red-Handed
  7. Personal Security Removal - 3 Easy Steps on How to Remove Personal Security in Seconds
  8. How to Remove Antivirus Live - Uninstall Antivirus Live Easily With Removal Instructions
  9. 3 Fast Methods to Get Rid of Antivir in Seconds - Quickly Conduct an Antivir Removal
  10. Improve PC Performance - Step by Step Instructions to Dramatically Increase Your System Performance
  11. 4 Steps to Speed Up Your PC - How to Make Your PC Run Faster in Just a Few Minutes!
  12. How to Remove Malware Defense - Uninstall Malware Defense Spyware From Your PC
  13. Is a Cleaner Free Reg Program for Your Computer's Registry A Great Tool to Use?
  14. How to Remove Antivirus Live - The Easiest Antivirus Live Removal Guide
  15. Internet Security 2010 Removal - Delete This Spyware From Your Computer

Most Published EzineArticles in the Computers-and-Technology:Software Category (60 days)

  1. How to Remove Spyware From Your Computer Today
  2. 3 Fast Methods to Get Rid of Antivir in Seconds - Quickly Conduct an Antivir Removal
  3. How to Remove Security Tool in 5 Minutes - Get a Security Tool Removal the Easy Way
  4. How to Get Rid of Personal Security in Minutes - Let Personal Security Removal Help You
  5. 7 Easy Ways on How to Remove AntiVir in Seconds - Follow These AntiVir Removal Instructions
  6. The Simplest Way on How to Remove Windows Enterprise Defender - Guide Removal Instructions
  7. Personal Security Removal - 3 Easy Steps on How to Remove Personal Security in Seconds
  8. 4 Steps to Speed Up Your PC - How to Make Your PC Run Faster in Just a Few Minutes!
  9. One Step How-To Uninstall Malware Defense - Learn the Malware Defense Removal Methods
  10. Need How to Remove Security Central in Seconds - Just Read This and Remove Them in Very Easy Way
  11. How to Remove Security Central in Seconds - Quickly Conduct a Security Central Removal
  12. One Step How to Remove Personal Protector From Your PC and Laptop - Remove Them in 10 Minutes
  13. Disabling the Windows Live Messenger is Just a Simple Procedure
  14. Windows 7 Runs Very Slow? - How to Speed Up Windows 7 Quickly and Fast
  15. Why My Computer is Running So Slow? How to Speed Up Computer - Fix Your Problem Instantly

 

This article has been viewed 139 time(s).
Article Submitted On: December 05, 2008



© EzineArticles.com - All Rights Reserved Worldwide.