Linux Directory Introduction (GO)

Source: Internet
Author: User
Tags tmp folder

Original address (including Chinese translation): http://blog.csdn.net/george188/article/details/4821601

/root

This is where the root user lives. The root user is the god of your system. Root can do anything, up to and including removing your entire filesystem. So is careful using root.

/bin

Here's where your standard Linux utilities (read programs) Live – things like "ls" and "VI" and "more". Generally this directory was included in your path. What's this means is so if you are type ' ls ',/bin is one of the places your shell would look to see if ' ls ' means anything.

/etc

Here's where the administrative and system configuration stuff lives. For instance, if you have a samba installed, and you want to modify the Samba configuration files, you ' d Find them in/etc/s Amba.

/dev

Here's where files that control peripherals live. Talking to a printer? Your computer is doing it from here. Same goes for disk drives, USB devices, and other such stuff.

/home

Here's where your data is stored. Config files specific to users, your Desktop folder (Whick makes your desktop "what it is"), and any data related-your use R. Each user'll has their Own/home/username folder with the exception of the root user.

/tmp

This is the temporary folder. Think of it as a scratch directory for your Linux system. Files that won ' t is needed by programs once their used once or twice is put here. Many Linux systems is set to automatically wipe The/tmp folder @ Certain intervals, so don ' t put things you want to Kee P here.

/usr

Here's where you'll find extra utilities that don ' t fit under/bin or/etc. Things like the games, printer utilities, and whatnot. /usr is divided to sections like/usr/bin for programs,/usr/share for shared data like sound files or icons,/usr/lib f Or libraries Whick cannot is directly run but is essential for running other programs. Your Package Manager takes care of the things in/usr for you.

/opt

Here's where optional stuff is put. Trying out the latest Firefox beta? Install it to/opt where can delete it without affecting other settings. Programs in this usually live inside a single folder Whick contains all of their data, libraries, etc.

/usr/local

This is the where most manually installed (ie. outside of the your package manager) software goes. It has the same structure as/usr. It is a good idea to leave/usr to your package manager and put any custom scripts and things into/usr/local, since Nothi Ng important normally lives in/usr/local.

/media

Some distros Use this folder to mount things like USB disks, CD or DVD drives and other filesystems.

Linux Directory Introduction (GO)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.