1. Introduction of UNIX
History, Installation, and Basic Usage
shelling / jwhsu
交通大學校園網路策進會
Campus Computer Communication Association
CCCA 無限拓展你的視野
2. Summary
• Unix History
• Installation of Debian GNU/Linux
• Installation of FreeBSD
• Basic Command and Tool
• Goal of Learning
Today’s Lecture
3. Origin of UNIX
• A.C.1965~1968, GE,AT&T and MIT...
GE 645 Machine, multiuser OS (1000 terms, 300 users)
MULTICS (Multiplexed Infomation and Computing System)
CTSS (Compatible Time-Sharing System)
• A.C.1969/3
AT&T Bell Lab leave
• Ken Tompson, Dennis Ritchie
DEC PDP-7 $75 Outer Space Game (Star Travel)
Only Two User at once
UNICS (Uniplexed Infomation and Computing System)
UNIX
Long, Long Ago.....
4. Development of UNIX
• Version 1/2 (1971)
Assemble Language
PDP-11 and VAX
• Version 3/4 (1973)
Ken Tompson --- B
Dennis Ritchie --- C
rewrite UNIX
cross hardware
• Version 6
Licence (include source code)
BSD (Berkeley Standard Distribution) plan
CSRG 4.4 BSD --- BSD’s END
One Step, One Footprint.
5. Sparkle of UNIX
• Version 7 (1979)
USG (UNIX Support Group, 1978)
No Source any more
• Version 8/9/10
Distributed OS --- Plan 9
Few University
• System III (1982)
• SystemV
Release 1 ()
Release IV (1982) --- Novell
Seed Spread Around The World
6. Fork and FusionSo Many Many Descendent...= =|||
SystemV
BSD}
Sun --- SunOS, Solaris
IBM --- AIX
HP --- HP-UX
DEC --- OSF/1
SGI --- IRIX
Minix
apple --- A/UX, Mac OS X
4.4 BSD
SCO UNIX
386BSD
Plan 9
Xenix
7. Roadmap and TimelineMain Fork in History
www.levenez.com/unix
Version I ~VI
VersionVII ~ X
1.0BSDSystem III
HP-UX
SystemV
AIX
Xenix SCOPlan 9
OSF/1 SunOS 4.4BSDIRIX
8. Some Note
• X/OPEN Consortium(Standard Definition Group)
• Open Gourp (X/OPEN and OSF/1)
1985 IEEE 1003 OS API
POSIX (Portable Operating System Interface of UNIX)
• Santa Cruz Operation (Source Code)
• Caldera Systems (A Linux Company)
• SCO (rename)
The Direction of Disappearance
9. Linux
• A.C. 1984,
Minix(Andrew Tanenbaum)
GNU(Richard Mathew Stallman), GNU Not Unix, GCC, Emacs, Bash
• A.C. 1991, Linus Torvalds
Intel i386, version 0.02
1992.6 SLS (Softlanding Linux System)
1993.7.16 Slackware
1993.8.16 Debian
• A.C. 1994,Version 1
1994.11 RedHat 1.0
Death and Birth
10. Linux Distribution
• Linux Top 10
from DistroWatch
• slackware
• Debian
• Fedora Core
• SUSE
• Ubuntu
Xuck..., So Many Descendent Again.
29. • shell
Bourne shell
C shell
Korn shell
Bourne Again shell
TENEX C shell
Z shell
• tab
auto complete command or file name
• cd direcotry
change direcotry
How to Use
User
Shell
OS
Command [option] [filename]
32. First Command
• ls
list file or directory in present work directory
• -a
include all hidden file
• -l
display in long format
• -h
be readable for human
OK, I know it is not “hello, world!”
33. Common Command
• pwd : present work directory
• file : the file type --- text, executable, binary
• df : disk format and situation
• du : disk usage
• cat, more, less : text reader
• tar : file packager
Don’t Try to bear all command in mind
34. Tools
• screen and irssi
multi-terminal manager and irc client
• mutt
mail software
• bmon and sniffer
network packet operating tool
• lftp and rTorrent
good tool for doing bad thing...XD
Do Bad Thing is the Source of Advancing --- slzzp/ 吳建豪
35. rTorrent
• return --- choose .torrent file
• ^Q --- exit
• control download bandwidth
A S D (1 5 50 up)
Z X C (1 5 50 down)
• control upload bandwidth
a s d (1 5 50 up)
z x c (1 5 50 down)
I know this is what you interesting in, so...let’s see in detail
36. Other
• file list format
• file manager
cp, touch, rm, mkdir, rmdir, chown, chgrp, chmod.
• shell symbol
> < | >> << 2&>1
• grep
• ps and kill
• man
What you should know