wintertreey 님의 블로그

디렉토리 구조 본문

리눅스

디렉토리 구조

wintertreey 2025. 6. 4. 18:17

https://opentutorials.org/course/2598/14205

 

 

잘 쓰이는 것 위주로 정리

/ 최상위 디렉토리
/bin binary의 줄임말. 기본적인 명령어가 모두 여기에 존재.
/etc 설정 파일을 두는 디렉토리.
/var 로그 파일들이 다양하게 생성되고 또 수정된다. 즉 가변적, 용량이 늘어나는 디렉토리.
보통 /var에 두기 보다는 따로 폴더를 만들어 관리한다.
/home 사용자들의 홈디렉토리가 있는 곳. 
사용자 추가시 사용자id와 동일한 디렉토리가 자동으로 생성. 예) /home/john

 

 

그 외 참고

/dev 기계 장치 관련 디렉토리. ex) usb, printer
/proc pid 번호 등 커널 관련 정보가 저장
/tmp 임시 파일 저장. 컴퓨터를 껐다 키면 날라감. 

 

 

상대경로

.  현위치

. . 한단계 상위 디렉토리

~ 현 사용자의 디렉토리로 이동

 

 

 

 

 

심볼릭 링크

예시.bin -> usr/bin/

 

 


https://inpa.tistory.com/entry/LINUX-%F0%9F%93%9A-%EB%A6%AC%EB%88%85%EC%8A%A4-%EB%94%94%EB%A0%89%ED%86%A0%EB%A6%AC-%EA%B5%AC%EC%A1%B0

 

🐧 리눅스 디렉토리 구조 한눈에 정리

리눅스 파일의 종류 리눅스는 유닉스 계열을 바탕으로 만들어진 오픈소스 운영체제이다. 그래서 유닉스와 마찬가지로 모든 것들을 파일로 관리한다. 리눅스의 경우 계층구조의 디렉

inpa.tistory.com

https://www.thegeekstuff.com/2010/09/linux-file-system-structure/

 

Linux Directory Structure FileSystemStructure Explained with Examples

Linux Directory Structure FileSystemStructure Explained with Examples by Ramesh Natarajan on September 8, 2010 Have you wondered why certain programs are located under /bin, or /sbin, or /usr/bin, or /usr/sbin? For example, less command is located unde

www.thegeekstuff.com

 

'리눅스' 카테고리의 다른 글

프로세스  0 2025.06.10
리눅스에서 정확한 이름을 입력하기 어려운 디렉토리나 파일 삭제하는 방법  1 2025.06.05
Shell Script  0 2025.05.28
Shell and Kernel  1 2025.05.26
IO Redirection :  0 2025.05.23