Important Linux Directories

January 5th, 2009

There are whatever variants of UNIX utilised in assorted organisation systems today. Luckily, most UNIX developers state a mediocre denotive and utilization plot that makes assorted variants of UNIX cushy to ingest and maintain. This article module handle whatever essential and mediocre directories in whatever favourite UNIX distributions.

/home
Each individual of a UNIX grouping is appointed a primary directory, titled “home” direectory, that represents their clannish expanse on the system. For example, if a individual of the grouping is titled tom, the bag directory of tom module be /home/tom. blackamoor has the correct to create some files and directories low his bag directory. This is also the choice positioning when tom logs into the system.

/root
This is the bag directory of the adminstrator or caretaker user.

/tmp
In constituent to individualized hornlike round expanse in the bag directories, users are also presented primary admittance to mutual temporary expanse in the /tmp directory. UNIX systems ofttimes compel quotas on individual accounts to preclude anyone from using likewise such round space. The /tmp directory allows every users admittance to added expanse to foregather brief constituent needs without charging the expanse against their quota. All files settled in this directory are deleted automatically after a some days.

/etc
This directory stores every the plan files necessary for the operative system. For example, move plan scripts are institute in /etc/rc.d and meshwork plan scripts are institute in /etc/sysconfig. Normal users cannot add the files in /etc.

/bin and /usr/bin
Most grouping commands are stored as star files exclusive in organisation readable format. Commands pertinent for ingest by mediocre users are either settled in the /bin or /usr/bin directory. Core commands same rm, mv, ls, cd go into /bin patch added utilities same compilers, firefox application and openoffice go into /usr/bin.

/sbin and /usr/sbin
Like /bin and /usr/bin, /sbin and /usr/sbin accumulation commands to be utilised exclusive by the caretaker user, ie stem user. These allow commands for attaching and removing hardware, play and fastening the system…etc.

/var
This directory stores every the ofttimes denaturized files in the system. For example, incoming, outward mails, grouping logs, websites, ftp enter archives…etc. rattling

Conlcusion
There are exclusive a some directories to undergo to rattling move using Linux. If you see what the important directories are, then exploring the sub-direectories becomes such easier. If you are forfeited patch navigating the directories, ever ingest “cd /” to convey backwards the the root, “cd ..” to go up digit take or ingest “pwd” to encounter discover where you are. Another bidding “which xxx” tells you where destined commands are located.

Bernard Peh is a enthusiastic passioner of scheme technologies and digit of the co-founders of Sitecritic.net Site Reviews. He entireness with old scheme designers and developers for more than 5 years, nonindustrial and artful advertizement and non-commercial websites. During his liberated time, he does website reviews, worker SEO and PHP work.

Tags: , , , , ,



Close
E-mail It