코딩과로그
TIL> 리눅스 디렉토리 구조 본문
리눅스의 구조에 대해서 찾아보았다.
아래와 같이 내용이 나왔으며,
더보기
The Linux directory structure is hierarchical, and it starts at the root directory, which is represented by a forward slash (/). The following are the main directories and their subdirectories:
- /bin - Contains essential binary files, such as system utilities like ls, cp, mv, etc.
- /boot - Contains files required for booting the system, such as the kernel, initramfs, and boot loader files.
- /dev - Contains device files for all the hardware devices connected to the system, such as hard drives, USB devices, and network interfaces.
- /etc - Contains configuration files for the system and applications.
- /home - Contains the user's home directories.
- /lib - Contains shared library files that are used by the system and applications.
- /media - Contains mount points for removable media, such as CDs, DVDs, and USB drives.
- /mnt - Contains mount points for temporary filesystems, such as network shares or mounted filesystems.
- /opt - Contains optional software packages that are installed on the system.
- /proc - A virtual file system that provides information about the running processes and system resources.
- /root - The home directory of the root user.
- /run - Contains runtime data for system services.
- /sbin - Contains essential system binaries that are generally only used by the system administrator.
- /srv - Contains data files for services provided by the system.
- /sys - A virtual file system that provides information about the system's hardware devices and their drivers.
- /tmp - Contains temporary files that are created by the system and applications.
- /usr - Contains non-essential binaries, libraries, and documentation.
- /var - Contains variable data files, such as log files, mail spools, and databases.
/dev 와 /boot 가 눈에 띄었다. 내 컴퓨터는 우분투인데, 내 disk 설정을 보면 다음과 같이 /dev 와 /boot가 있었다.
/dev 와 /boot 폴더의 역할이 이제 좀 이해가 되었다.
'Devops > TIL' 카테고리의 다른 글
TIL > URL과 URI (0) | 2023.03.15 |
---|---|
TIL > 시스템 모니터링 (0) | 2023.03.15 |
TIL > 프로세스, 서비스, 자동화 (0) | 2023.03.13 |
TIL > 리눅스 관련 (입출력, 관리자 권한 등) (0) | 2023.03.10 |
TIL > 개발 프로세스와 DevOps 업무 개요 (0) | 2023.03.08 |