2024-06-17 Linux File System のディレクトリの意味
下記のツイートが話題になってたのでメモ。
Linux file system explained. pic.twitter.com/RD7HNOAn6F
— Bytebytego (@bytebytego) June 16, 2024
まとめると、以下の通り。
| Directory | Description |
|---|---|
| /bin | Essential command binaries |
| /boot | System boot loader files |
| /dev | Device files |
| /etc | Host-specific system-wide configuration files |
| /home | User home directory |
| /lib | Shared library modules |
| /media | Media file such as CD-ROM |
| /mnt | Temporary mounted filesystems |
| /opt | Add-on application software packages |
| /proc | Interface to kernel data structures |
| /root | Home directory for root user |
| /run | Run-time program data |
| /sbin | System binaries |
| /srv | Site-specific data served by this system |
| /sys | Virtual directory providing information about the system |
| /tmp | Temporary files |
| /usr | Unix System Resources |
| /var | File that is expected to continuously change |