UNIX經驗分享

出自KMU Wiki

跳轉到: 導航, 搜索

目錄

[編輯] History

UNIX 維基百科講 UNIX

1969

UNIX 之父 Ken Thompson and Dennis Ritchie

Dennis Ritchie的網頁

1977

BSD 維基百科講 BSD

1984

自由軟體基金會 Free Software Foundatiion (FSF)

GNU 專案

維基百科介紹自由軟體之父 Richard Stallman

1991

維基百科講 Linux

維基百科介紹 Linux 之父 Linus Torvalds

[編輯] OS Architecture

  • hardware
  • kernel
  • file
  • process
  • shell
  • user applications

[編輯] GUI

GUI 是 Graphical User Interface 的縮寫,在講 GUI 之前,我們可以回顧一下電腦的歷史,然後思考一個問題: 為什麼會有 GUI?

電腦發明的早期 (1960 年之前),操作電腦的都有專門的人,而不是一般人:

維基百科講電腦硬體歷史的條目

在 2008 年時以打卡方式寫程式的人大多超過 50 歲。

直到 1960 年之後出現了終端機,有了鍵盤和螢幕。

維基百科講1960年之後電腦硬體的條目

但是 Command Line 讓一般使用者仍覺得電腦很難親近。

於是有了一連串的改進...

維基百科講 GUI 歷史的條目

[編輯] Shell

維基百科條目 UNIX shell

[編輯] shells

  • sh
  • bash
  • csh/tcsh
  • ksh
  • zsh

[編輯] environment variable

  • sh: env/=/export
  • csh: setenv/unsetenv

[編輯] pipeline |

維基百科講 UNIX pipeline

  • 將既有的小工具組合成新工具

[編輯] Shell Script

WikiBooks 講 Bourne Shell Scripting

[編輯] Command

Please using man.

FreeBSD Hypertext Man Pages

  • ls/cp/mv/rm/cat/more(less)
  • date/cal
  • grep
  • sort/uniq
  • head/tail
  • sed/awk
  • find/locate
  • ps/w/who/top/kill
  • Ctrl-Z (suspend)/bg/fg

...

[編輯] Editor

維基百科條目 vi

  • command mode
  • editing mode

[編輯] Networking

TCP/IP

  • ping
  • traceroute
  • netstat
  • telnet
  • ftp

[編輯] Applications

Free Software/Open Source Software

GNU

SourceForge

自由軟體鑄造場