What is Unix & Linux

12
朝朝朝朝朝朝朝 朝朝朝 What is Unix & What is Unix & Linux Linux -Unix is an Operating System with properties of: Multi-tasking (background, foreground) Multi-user Time-sharing Portable Open Source -Linux is Unix -Linux is the most popular version of Unix that is good for PC(Personal Computer).

description

What is Unix & Linux. - Unix is an Operating System with properties of: Multi-tasking (background, foreground) Multi-user Time-sharing Portable Open Source - Linux is Unix - Linux is the most popular version of Unix that is good for PC(Personal Computer). - PowerPoint PPT Presentation

Transcript of What is Unix & Linux

Page 1: What is Unix & Linux

朝陽科大資管系 李麗華

What is Unix & LinuxWhat is Unix & Linux

-Unix is an Operating System with properties of:

Multi-tasking (background, foreground)

Multi-user

Time-sharing

Portable

Open Source

-Linux is Unix

-Linux is the most popular version of Unix that

is good for PC(Personal Computer).

Page 2: What is Unix & Linux

朝陽科大資管系 李麗華

The History of Unix (1) The History of Unix (1)

1969 年 : Ken Thompson and Dennis Ritchie rewrote

the game--Space Travel and to fix the failed O.S.

Multics.

-Unics is created for PDP-7 with 9K memory

-Unix written with assembly language

1971 年 : Unix 2

1972 年 : C 語言誕生 ( 由 Dennis Ritchie)

1973 年 : Unix 3, Unix V4 re-written with CC language.

1975 年 : Unix V6, 1 BSD(Berkeley Software Distribution)

1979 年 Unix 7, 4BSD

Page 3: What is Unix & Linux

朝陽科大資管系 李麗華

1981 年 : XENIX(MS-DOS;IBM 推出 16 位元 PC);System III

1983 年 : 4.1BSD(ANSI C)

1986 年 : POSIX(Portable Operating System Interface)

1987 年 : 4.3BSD ; Sun 以 4.2BSD/4.3BSD 為基礎推 出 SunOS; (MS 推出 Windows 2.0, DOS 3.3,

同年 ,IBM 推出 OS/2, NOVELL 推出 Netware386;Boland 推出 Turbo C)

1988 年 : Unix System V R4 (MS 推出 DOS 4.0)

1990 年 :4.4BSD( MS 推出 Windows 3.0.)

The History of Unix (2)The History of Unix (2)

Page 4: What is Unix & Linux

朝陽科大資管系 李麗華

The History of UnixThe History of Unix

1973

1975

1979

1980

1981

1983

1985

1990

1988

1986

1969

V 4

V 6

V 7

PWB

System III

System V

System V 3.0

System V 4.0

System V 3.2

UNIX

1.0 BSD

2.0 BSD

2.6 BSD

2.9 BSD

4.1 BSD

4.2 BSD

4.4 BSD

4.3 BSD

RIG

Accent

Mach

XENIX Systme III

XENIX Systme V

32 V

3 BSD

AIX 1.0

AIX 3.0

Page 5: What is Unix & Linux

朝陽科大資管系 李麗華

The birth of LinuxThe birth of Linux

1991 年 : Linus Torvalds(a student of Finland) open the

Linux source code(General Public Licence).

(DOS 5.0 is published)

1992 年 : Sun Solaris; System V R4.2.(Windows 3.1)

1999 年 : Linux getting popular; many company support

Linux, a great success for Open Source.

同年 , 台南縣全縣中小學校採用 RedHat Linux

為網路主機 OS, 正式撒下自由軟體的種子 .

Page 6: What is Unix & Linux

朝陽科大資管系 李麗華

Linux Linux 外傳外傳

1991 年 8月,芬蘭的一個學生在 comp.os.minix 新聞組貼上了以下這段話:〝你好,所有使用 minix 的人 - 我正在為 386 (486)AT 做一個免費的操作系統 (只是為了愛好 ),不會像 GNU 那樣很大很專業。〞 這名學生就是 Linus Torvalds,而他所說的〝愛好〞就變成我們今天知道的 Linux 。我們現在了解 Linux 並非僅由 Linus 一人開發,它僅是作業系統的核心程式,其它相關的程式及套件是由全世界幾百個程式設計員共同開發的。有趣的是,這個巨大的世界性的開發活動並不是有組織的活動。透過網路上公開程式碼的協定,這個不具管理性的組織很自然的發展起來;就好比 :一個俄羅斯學生得到一塊新的主機板,就寫下了驅動程式支援這塊主機板 ; 而美國馬里蘭的一個系統管理員因需要備份軟體,就寫一個備份程式,並把它傳給任何需要的人等。這些支援性程式好像都在正確的時間發生, 幾年下來, Linux 己經發展成無以計數的龐大。 令人感到最有趣的是,不用花錢就能得到 Linux 。只要有時間並願意下載,就可免費得到大多數軟體。更有趣的是,你也可以參與 Linux 的開發計劃,只要您承認 GPL ,公開所寫的程式碼,很快的您將變成企鵝一族………… .

--- 改寫自“網虎國際”網頁 http://www.wahoo.com.tw/

Page 7: What is Unix & Linux

朝陽科大資管系 李麗華

Version of UnixVersion of Unix

Name Supplier Based on

AIX International Bussiness Machines AT&T System V

Dynix Sequent BSD

HP-UX Hewlett-Packard BSD

Irix Silicon Graphics AT&T System V

Linux Free Software Foundation Linus’s Kernel

Solaris Sun Microsystems AT&T System V

SunOS Sun Microsystems BSD Unix

Ultrix Digital Equipment Corporation BSD Unix

Unicos Cray AT&T System V

UnixWare Novell AT&T System V

XENIX Microsoft AT&T System III

Page 8: What is Unix & Linux

朝陽科大資管系 李麗華

Linux Kernel / Distribution Linux Kernel / Distribution 簡簡介介

•Mandrake LinuxMandrake Linux ( 法國人提出 ,美國公司販售 ,普及率高 )•RedHat(USA 具自由軟體理念的商業化版本 )

•OpenLinux(Caldera)

•SuSE (Europe)

•TurboLinux(Japan, China)

•PowerLinux, XLinux( 台灣網虎 )

•Debian(GNU 自由軟體理念第一的版本 )

•FreeBSD (Berkely 版本 )

•Slackware(early version 古老版本 )

p.s. 本課程使用教室 M504 今年採用 Mandrake Linux 9.2

Page 9: What is Unix & Linux

朝陽科大資管系 李麗華

Major Component of Major Component of UnixUnix

1.Kernel:the master control program,resides in the computer’s main memory, and it manages the computer resources.

2.Shell: interprets user commands and passes them on to the the kernel.

3.File System: Unix organizes information into collections called files. Files may be grouped into collection called directory.

4.Utilities: the useful software tools. It is often called commands.

Ex: text editing, programming, communication, DB management, etc.

Page 10: What is Unix & Linux

朝陽科大資管系 李麗華

GNU / GPL / FSF /CLEGNU / GPL / FSF /CLE 簡介簡介 經常閱讀 Unix/Linux 相關文章的人 ,必定對這些專有名詞不陌生 GNU: GNU's not Unix GPL: the GNU General Public License FSF: Free Software Foundation 1983 由 Richard Stallman 建立 CLE: Chinese Linux Extension

X: 即 X Window, 包含 X server 及 X client, 遵守 X protocol

參閱“自由軟體在臺灣資訊教育的應用” ,洪朝貴 , 朝陽科技大學資管系副教授參閱“自由軟體之春秋繁露– GNU”,陳建勳 ,立鋼工程顧問結構工程師

Page 11: What is Unix & Linux

朝陽科大資管系 李麗華

Application of Unix SystemsApplication of Unix Systems

除了眾多版本的 Unix 系統之外 , 因為 Unix 系統而開發出來的相關應用可說不計其數 , 例如 :

1.Standard: 如 x-window 標準 (x-protocol)

2.Desktop: 如 CDE,

3.Tools: 界面程式 Shell,

4.Language: awk, tcl, C, TC, Perl, …..

5.Client-Server: 全世界最早的主從式架構即由 Unix 而來

6.Networking: TCP/IP, FTP, PPP,……….

7.Application: 從文書處理到商業資料庫 , 成千上萬的應用軟體都在 Unix 系統下被開發 ( 詳見 28 章 )

Page 12: What is Unix & Linux

朝陽科大資管系 李麗華

課 後 習 作課 後 習 作

1.(a) Unix 是什麼 ? (b)Unix 有何特色 ? (c) Unix 的主要 component 為何 ?2.(a) Linux 是什麼 ? (b) Linux和傳統的 Unix有何 異 與 同 ? 3 (a)請利用本校圖書館網頁 ,查找本校圖書館有多 少 Linux 相關的書 ,期刊及雜誌 4. 到目前為止 ,對 Unix或 Linux 你最好奇的項目是什 麼 ?(請寫下為什麼你對此項好奇 )

1. 請上網查找有關 Linux 教學的相關網站 ( 己完成2. 請上網查找有關 Mandrake 及 Redhat Linux 的相 關介紹 . 請附上你的“引用出處” (即 reference)