1 / 26

리눅스 개요 및 디렉토리

KAIST 09 SPARCS 10 안재만 ( Kuss ). 리눅스 개요 및 디렉토리. Content. OS Kernel & Shell OS Layer Linux Linux / GNU Linux 역사 Linux 배포판 Linux Directories. Linux?. OS!. OS. Operating System 하드웨어 제어하는 시스템 소프트웨어 시스템 자원을 관리해 주는 역할 Program 실행환경 제공 프로세스관리 , 메모리관리 , CPU 스케쥴링 , 2 차기억장치 관리

anson
Download Presentation

리눅스 개요 및 디렉토리

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. KAIST 09 SPARCS 10 안재만 (Kuss) 리눅스 개요 및 디렉토리

  2. Content • OS • Kernel & Shell • OS Layer • Linux • Linux / GNU • Linux 역사 • Linux 배포판 • Linux Directories

  3. Linux?

  4. OS!

  5. OS • Operating System • 하드웨어 제어하는 시스템 소프트웨어 • 시스템 자원을 관리해 주는 역할 • Program 실행환경 제공 • 프로세스관리, 메모리관리, CPU스케쥴링, 2차기억장치 관리 • CUI/GUI • Kernel / Shell?

  6. Kernel & Shell • Kernel • OS의 핵심 코어 부분 • 시스템 리소스 <-> OS • 하드웨어, 메모리, 프로세스 관리 및 제어 • Shell • Kernel과 User와 소통하게 해주는 프로그램 • 윈도우 익스플로러(바탕 화면) • Command.com/cmd.exe • Bash, csh, scsh, rc

  7. OS Layer

  8. Linux의 역사 • MULTICS (Assembly) • UNIX (C) • 다양한 UNIX 운영체제 • Richard Stallman – GNU Project • LinusTorvalds – MINIX  Linux Kernel • Linux Kernel + GNU Project

  9. GNU / Linux • GNU is Not Unix • GNU – Library & Utility • Bash, Emacs(문서편집기), GCC, GDB(디버깅), GMP (수치계산), GSL(Science Library) • Linux - Kernel

  10. Linux • Open source OS • Unix 계열 OS • 네트워크 운영체제(NOS) • Multi-user • Multi-tasking • Foreground / background

  11. Linux 배포판 • Archlinux – 가벼움, 단순함 • CentOS – Red Hat Enterprise Linux • Debian – 자유 소프트 웨어 • Fedora – 리누스토발즈가 사용 • Gentoo – Power User용 • Knoppix - CD나 USB드라이브로 부팅가능 • Mandriva • openSUSE • Red Hat Enterprise Linux • Ubuntu - 30%

  12. Linux

  13. Linux • 로그인할 때 커널버젼 • /boot • /etc/issue • uname -a

  14. Linux Directories

  15. / • 최상위 루트 디렉터리 • 리눅스(유닉스) 드라이브 개념X • 루트 디렉토리가 하나의 하드디스크 파티션 • 루트 파티션

  16. /home • User’s home directory • (단, root는 /root를 사용함) • 각 유저의 개인 파일들을 저장. • Like Documents and Settings

  17. /usr • 부 디렉터리. • 응용프로그램, 소스코드, 문서등 많은 것들이 존재. • 시스템에서 가장 큰 부분 • Like Program Files

  18. /usr/ • /usr/bin 응용프로그램의 실행파일 • /usr/include 헤더파일 • /usr/lib 프로그램의 동적 라이브러리 파일 • /usr/local 사용자가 소스를 가져다 컴파일한 프로그램 • /usr/share 도움말, 아이콘, 환경 테마 • /usr/src소스코드 (리눅스커널)

  19. /bin • 가장 기본적인 시스템 유틸리티 • 명령처리기(쉘) sh • ls, cp, mkdir • 유저들에게 필요한 필수적 명령 프로그램

  20. /dev • 모든 장치가 하나의 파일로 간주. • /dev/hda (IDE 하드디스크) • /dev/dsp (사운드카드) • /dev/psaux (마우스) • /dev/sda (SATA 하드디스크)

  21. /lib • Shared Libraries • 실행파일이 사용할 라이브러리들이 위치 • Like Windows\system32 • 라이브러리? • 소프트웨어를 만들때 쓰이는 클래스 • 정적라이브러리:컴파일시 • 동적라이브러리: 실행시

  22. /proc • 디스크 상에 존재하지 않으며, 커널에 의해 메모리 상에 생성. • 실제 사용중인 장치들이 파일의 형태로 추상화 (like 장치관리자) • 메인메모리(/proc/kcore) • 1번 프로세스(/proc/1) • 디바이스 드라이버 (/proc/devices)

  23. /var • Log files, and other dynamic files • 프로그램들이 생성하는 파일

  24. /etc • Configuration files • 리눅스 시스템의 모든 설정 파일

  25. 나머지 • /boot : 부팅과정에 필요한 부트로더 파일(리눅스커널이 위치) • /mnt : Cd-rom, 플로피디스크등의 외장형 미디어. (/mnt/cdrom) • /sbin : 관리자만이 사용가능한 유틸리티 • mkfs(포맷), fsck(파일시스템 검사) fdisk(파티션) • /tmp : 임시파일 저장

  26. End

More Related