lunix directory

  • /: Root directory, in general, only the root storage directory, and only one root directory under Linux. All things are from here. When you type "/ home" in the end, you are actually telling the computer, start with the / (root directory) to start, then go to the home directory.
  • / Bin, / usr / bin: directory executable binary files, such as the commonly used commands ls, tar, mv, cat and so on. / Boot: put some files used when starting linux systems, such as Linux kernel file: / boot / vmlinuz, system boot manager: / boot / grub.
  • / Dev: file storage device linux system, access a file in the directory, which is equivalent to access a device commonly used to mount the CD mount / dev / cdrom / mnt.
  • / Etc: system configuration files directory is not recommended to store executable files in this directory, it is important configuration files have /etc/inittab,/etc/fstab,/etc/init.d,/etc/X11,/etc /sysconfig,/etc/xinetd.d.
  • / Home: the default user's home directory, create a new user account, the user's home directory are stored in this directory, it represents the current user's home directory, user home directory represents edu edu's.
  • Need help library when the library catalog system, the program in the implementation process, you need to call some additional parameters: / lib, / usr / lib, / usr / local / lib. / Lost + fount: the system generates an error exception, will lose some of this fragment is placed under the directory.
  • / Mnt: / media: mount point default optical disc, the optical disc is usually mounted at / mnt / cdrom, not necessarily, be mounted at any position can be selected.
  • / opt: to host an additional install the software place the directory. / proc: The data in this catalog are in memory, such as system core, peripherals, network status, since the data are stored in memory, so do not take up disk space, the more important directories have / proc / cpuinfo, / proc / interrupts , / proc / dma, / proc / ioports, / proc / net / the like. / root: system administrator root's home directory.
  • / Sbin, / usr / sbin, / usr / local / sbin: placing executable commands used by the system administrator, such as fdisk, shutdown, mount the like. And / bin difference is that these directories are commands to the system administrator root to use, the average user can only "see" and can not set up and use.
  • / Tmp: general user or program being executed temporary storage directory files, anyone can access the important data can not be placed in this directory.
  • / Srv: the service started need to access the data directory, Web services need to access data such as www stored in the / srv / www.
  • / Usr: application storage directory, / usr / bin storage applications, / usr / share to store shared data, / usr / lib store can not be run directly, but some library files necessary to run many programs.
  • / Usr / local: storage software upgrade package. / Usr / share / doc: system description file storage directory.
  • / Usr / share / man: the program documentation storage directory.
  • / Var: file changes frequently during the execution of the placement system, such as to change the log file
  • / Var / log, / var / log / message: All of the log file storage directory, / var / spool / mail: e-mail stored in the directory, / var / run: After the program or service is started, its PID is stored in the directory.

Guess you like

Origin www.cnblogs.com/rogerd/p/11622791.html