Important Linux Directories

by Sitecritic .Net

by Sitecritic .Net

There are many variants of Linux used in different computer systems today. Luckily, most Linux developers employ a common naming and utilization scheme that makes different variants of Linux easy to use and maintain. This article will discuss some important and common directories in many popular Linux distributions./homeEach user of a Linux system is assigned a special directory, called "home" direectory, that represents their private space on the system. For example, if a user of the system is called tom, the home directory of tom will be /home/tom. Tom has the right to create any files and directories under his home directory. This is also the default location when tom logs into the system./rootThis is the home directory of the adminstrator or super user./tmpIn addition to personal hard disk space in the home directories, users are also given special access to shared temporary space in the /tmp directory. Linux systems often implement quotas on user accounts to prevent anyone from using too much disk space. The /tmp directory allows all users access to additional space to meet short term needs without charging the space against their quota. All files placed in this directory are deleted automatically after a few days./etcThis directory stores all the configuration files needed for the operating system. For example, startup configuration scripts are found in /etc/rc.d and network configuration scripts are found in /etc/sysconfig. Normal users cannot modify the files in /etc./bin and /usr/binMost system commands are stored as binary files only in machine readable format. Commands appropriate for use by ordinary users are either placed in the /bin or /usr/bin directory. Core commands like rm, mv, ls, cd go into /bin while supplementary utilities like compilers, firefox browser and openoffice go into /usr/bin./sbin and /usr/sbinLike /bin and /usr/bin, /sbin and /usr/sbin store commands to be used only by the super user, ie root user. These include commands for attaching and removing hardware, starting and stopping the system...etc./varThis directory stores all the frequently changed files in the system. For example, incoming, outgoing mails, system logs, websites, ftp file archives...etc. very ConlcusionThere are only a few directories to know to really start using Linux. If you understand what the main directories are, then exploring the sub-direectories becomes much easier. If you are lost while navigating the directories, always use "cd /" to return back the the root, "cd .." to go up one level or use "pwd" to find out where you are. Another command "which xxx" tells you where certain commands are located.

About the Author

Sitecritic.net Website Design is formed by a group of web addicts, mainly volunteers from all over the world. Our goal is to create a community of web designers and developers who share the common interest in bringing out the best in creatiing effective web sites. Visit their website at: http://www.sitecritic.net

Tell others about
this page:

facebook twitter reddit google+



Comments? Questions? Email Here

© HowtoAdvice.com

Next
Send us Feedback about HowtoAdvice.com
--
How to Advice .com
Charity
  1. Uncensored Trump
  2. Addiction Recovery
  3. Hospice Foundation
  4. Flat Earth Awareness
  5. Oil Painting Prints