Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
04-linux:10-administration:hierarchie [2019/05/14 00:33] – Roge | 04-linux:10-administration:hierarchie [2019/05/14 00:40] (Version actuelle) – Roge | ||
---|---|---|---|
Ligne 7: | Ligne 7: | ||
Les plus importants : | Les plus importants : | ||
- | * /bin This directory contains executable programs which are needed in single user mode and to bring the system up or repair it. | + | * /bin |
- | * /boot Contains static files for the boot loader. | + | This directory |
- | * /dev | + | * /boot |
+ | |||
+ | Contains static files for the boot loader. | ||
- | * /etc | + | |
- | | + | |
- | | + | Special or device files, which refer to physical devices. |
+ | |||
+ | | ||
+ | |||
+ | Contains configuration files which are local to the machine. | ||
* /etc/opt | * /etc/opt | ||
- | | + | |
- | * /home On machines with home directories for users, these are usually beneath this directory, directly or not. The structure of this directory depends on local administration decisions (optional). | + | Host-specific configuration files for add-on applications installed in /opt. |
- | * /lib This directory should hold those shared libraries that are necessary to boot the system and to run the commands | + | * /home |
- | * /media This directory | + | On machines with home directories |
- | than one device exists | + | |
- | * /mnt | + | |
- | ries intended to be used as mount points for several temporary filesystems. | + | |
- | * /opt This directory should contain add-on packages that contain static files. | + | * /lib |
- | * / | + | This directory should hold those shared libraries that are necessary to boot the system |
- | pseudo-filesystem | + | |
- | * /root This directory is usually the home directory for the root user (optional). | + | * /media |
- | * /sbin Like /bin, this directory | + | This |
- | * /srv This directory contains site-specific data that is served by this system. | + | * /mnt |
+ | |||
+ | This directory | ||
+ | |||
+ | * /opt | ||
+ | |||
+ | This directory should contain add-on packages that contain static files. | ||
+ | |||
+ | * /proc | ||
+ | |||
+ | This is a mount point for the proc filesystem, which provides information about running processes and the kernel. | ||
+ | |||
+ | * /root | ||
+ | |||
+ | This directory is usually the home directory for the root user (optional). | ||
+ | |||
+ | * /sbin | ||
+ | |||
+ | Like /bin, this directory holds commands needed to boot the system, but which are usually not executed by normal users. | ||
+ | |||
+ | * /srv | ||
+ | |||
+ | This directory contains site-specific data that is served by this system. | ||
* /sys This is a mount point for the sysfs filesystem, which provides information about the kernel like /proc, but better structured, following the formalism of kobject infrastructure. | * /sys This is a mount point for the sysfs filesystem, which provides information about the kernel like /proc, but better structured, following the formalism of kobject infrastructure. | ||
Ligne 46: | Ligne 70: | ||
* /usr/bin | * /usr/bin | ||
- | | + | |
- | | + | This is the primary directory for executable programs. |
* /usr/lib | * /usr/lib | ||
- | | + | |
- | + | Object libraries, including dynamic libraries, plus some executables which usually are not invoked directly. More complicated programs may have whole subdirectories there. | |
* /usr/local | * /usr/local | ||
- | | + | |
+ | This is where programs which are local to the site typically go. | ||
* /usr/share | * /usr/share | ||
- | | + | |
- | | + | This directory |
- | | + | |
+ | * /var | ||
+ | |||
+ | This directory contains files which may change in size, such as spool and log files. | ||
| |