LinuxUNIX Programming UNIXLinux IT UNIX History 44 UNIXLinux

































- Slides: 33

Linux/UNIX Programming UNIX/Linux 시작 문양세 강원대학교 IT대학 컴퓨터과학전공






UNIX History (4/4) UNIX/Linux 시작 UNIX의 대중화 – Linux의 출현 • Free software, open source 추구 • GNU Project와 더불어 대중성을 가짐 • 현재 200여 개 넘는 배포판 존재 (software 자체는 무료, maintenance는 유료) • 위키(한글): http: //ko. wikipedia. org/wiki/%EB%A 6%AC%EB%88%85%EC%8 A%A 4 • 위키(영문): http: //en. wikipedia. org/wiki/Linux • Open architecture 추구를 통해 PC에서 슈퍼컴까지 활용분야 넓어짐 Page 7 Linux/UNIX Programming by Yang-Sae Moon



UNIX 제품 종류 UNIX/Linux 시작 UNIX는 단일 제품이 아니라, 제품군을 의미하며 다음과 같은 두 가지 특징을 공통으로 포함함 • 멀티태스킹(Multitasking): 유닉스 시스템이 한번에 하나 이상의 프로그램을 동시에 실 행할 수 있음을 의미 • 멀티유저(Multiuser): 유닉스 시스템이 한번에 한 명 이상의 사용자를 동시에 지원할 수 있음을 의미 상용 UNIX 제품 무료 UNIX 제품 유닉스명 Free. BSD Linux Net. BSD 유닉스명 AIX BSD/OS HP-UX Irix OSF/1 Solaris Sun. OS Tru 64 Ultrix Unixware Page 10 제조회사 IBM Berkeley Software Design(BSDI) Hewlett-Packard(HP) Silicon Graphics Digital Equipment Corporation(DEC) Sun Microsystems HP Alpha Server Series Digital Equipment Corporation(DEC) Novell Linux/UNIX Programming by Yang-Sae Moon


UNIX 시작 (2/8) UNIX/Linux 시작 로그인 (유닉스로 작업 시작하기) login: • 사용자명(login name)을 입력하고 RETURN 키 password: • 패스워드를 입력하고 RETURN 키 Page 12 Linux/UNIX Programming by Yang-Sae Moon

UNIX 시작 (3/8) UNIX/Linux 시작 로그인 예제 (실제 수행해 봅시다. ) Page 13 Linux/UNIX Programming by Yang-Sae Moon


UNIX 시작 (5/8) UNIX/Linux 시작 로그인 후에 일어나는 일은? (계속) System Information Message of the Day Page 15 Linux/UNIX Programming by Yang-Sae Moon

UNIX 시작 (6/8) UNIX/Linux 시작 Shell Prompt • Shell: 사용자의 명령을 읽고 해석하는 프로그램 • Shell이 다음 명령을 받아들일 준비가 되면, Prompt를 보여줌 • Prompt는 사용하고 있는 Shell에 따라 차이가 있음 − Default Prompt: C Shell(%, $), Korn Shell($), Bourne Shell, … − User Defined Prompt: 사용자가 지정(. cshrc)하여 변경 가능함 • 끝내고자 할 때는 Shell Prompt 상에서 “logout” 또는 “exit”를 입력 Page 16 Linux/UNIX Programming by Yang-Sae Moon

UNIX 시작 (7/8) UNIX/Linux 시작 Shell Prompt (계속) Page 17 Linux/UNIX Programming by Yang-Sae Moon



간단한 유닉스 작업 (2/11) UNIX/Linux 시작 날짜 및 시각 확인하기 (date) Page 20 Linux/UNIX Programming by Yang-Sae Moon

간단한 유닉스 작업 (3/11) UNIX/Linux 시작 현재 로그인한 사용자 확인하기 (who) Page 21 Linux/UNIX Programming by Yang-Sae Moon

간단한 유닉스 작업 (4/11) UNIX/Linux 시작 디렉토리/파일 목록 보기 (ls) Page 22 Linux/UNIX Programming by Yang-Sae Moon

간단한 유닉스 작업 (5/11) UNIX/Linux 시작 파일 내용 보기 (cat) Page 23 Linux/UNIX Programming by Yang-Sae Moon

간단한 유닉스 작업 (6/11) UNIX/Linux 시작 파일 내용 보기 (more) Page 24 Linux/UNIX Programming by Yang-Sae Moon


간단한 유닉스 작업 (8/11) UNIX/Linux 시작 과거 로그인한 이력 보기 (last) Page 26 Linux/UNIX Programming by Yang-Sae Moon

간단한 유닉스 작업 (9/11) UNIX/Linux 시작 명령어 매뉴얼 보기 (man) Page 27 Linux/UNIX Programming by Yang-Sae Moon

간단한 유닉스 작업 (10/11) UNIX/Linux 시작 자신의 호스트 이름 보기 (hostname, uname) Page 28 Linux/UNIX Programming by Yang-Sae Moon

간단한 유닉스 작업 (11/11) UNIX/Linux 시작 배너 명령어 (banner) Page 29 Linux/UNIX Programming by Yang-Sae Moon

. cshrc 파일 (1/3) UNIX/Linux 시작 로그인(C Shell 가정)할 때 자동적으로 실행되는 파일 자신의 환경(Prompt 형식, 명령어 Alias 등)을 설정하기 위해서 사용 Prompt 상에서. cshrc 파일 실행하는 명령어(source) $ source. cshrc Page 30 Linux/UNIX Programming by Yang-Sae Moon

. cshrc 파일 (2/3) UNIX/Linux 시작 Page 31 Linux/UNIX Programming by Yang-Sae Moon

. cshrc 파일 (3/3) UNIX/Linux 시작 내. cshrc 파일을 어떻게 작성하고 수정하지? Page 32 Linux/UNIX Programming by Yang-Sae Moon

Linuxunix
Unixlinux
Stevens unix network programming
Stevens unix
Unix programming
Unix programming
Berkeley unix
Brief history of unix
Bsd unix history
Salient features of unix operating system
Perbedaan linear programming dan integer programming
Greedy vs dynamic
What is in system programming
Integer programming vs linear programming
Perbedaan linear programming dan integer programming
Extreme programming history
Brief history of programming languages
History of php programming language
History of php programming language
Brief history of c programming language
Dynamic programming history
Also history physical
What is unix
Example of an os
Unix was originally developed in
Why unix was developed
Objetivo de unix
Posix shared memory synchronization
Unix internals
Namei algorithm in unix
Lower level file system algorithms
A.out vs elf
Internal command in unix
Block diagram of system kernel