Оцените презентацию от 1 до 5 баллов!
Тип файла:
ppt / pptx (powerpoint)
Всего слайдов:
20 слайдов
Для класса:
1,2,3,4,5,6,7,8,9,10,11
Размер файла:
1.03 MB
Просмотров:
55
Скачиваний:
0
Автор:
неизвестен
Слайды и текст к этой презентации:
№1 слайд![Linux Basics WeeSan Lee lt](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img0.jpg)
Содержание слайда: Linux Basics
WeeSan Lee <weesan@cs.ucr.edu>
№2 слайд![Roadmap What is Unix? What is](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img1.jpg)
Содержание слайда: Roadmap
What is Unix?
What is Linux?
Which Linux Distribution is better?
Fish vs. Fishing
Basic Commands
Vi and Emacs
Q&A
References
№3 слайд![What is Unix? A multi-task](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img2.jpg)
Содержание слайда: What is Unix?
A multi-task and multi-user Operating System
Developed in 1969 at AT&T’s Bell Labs by
Ken Thompson (Unix)
Dennis Ritchie (C)
Douglas Mcllroy (Pipes - Do one thing, do it well)
Some other variants: System V, Solaris, SCO Unix, SunOS, 4.4BSD, FreeBSD, NetBSD, OpenBSD, BSDI
№4 слайд![What is Linux? A clone of](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img3.jpg)
Содержание слайда: What is Linux?
A clone of Unix
Developed in 1991 by Linus Torvalds, a Finnish graduate student
Inspired by and replacement of Minix
Linus' Minix became Linux
Consist of
Linux Kernel
GNU (GNU is Not Unix) Software
Software Package management
Others
№5 слайд![What is Linux? Originally](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img4.jpg)
Содержание слайда: What is Linux?
Originally developed for 32-bit x86-based PC
Ported to other architectures, eg.
Alpha, VAX, PowerPC, IBM S/390, MIPS, IA-64
PS2, TiVo, cellphones, watches, Nokia N810, NDS, routers, NAS, GPS, …
№6 слайд![Which Linux Distribution is](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img5.jpg)
Содержание слайда: Which Linux Distribution is better?
> 300 Linux Distributions
Slackware (one of the oldest, simple and stable distro.)
Redhat
RHEL (commercially support)
Fedora (free)
CentOS (free RHEL, based in England)
SuSe ( based in German)
Gentoo (Source code based)
Debian (one of the few called GNU/Linux)
Ubuntu (based in South Africa)
Knoppix (first LiveCD distro.)
…
№7 слайд![Which Linux Distribution is](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img6.jpg)
Содержание слайда: Which Linux Distribution is better?
№8 слайд![Which Linux Distribution is](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img7.jpg)
Содержание слайда: Which Linux Distribution is better?
Ask yourself these questions (from LAH)
Is it going to be around in 5 yrs?
Is it giong to stay on top of the latest security patches?
Is it going to release updated software promptly?
If I have problems, will the vendor talk to me?
Personally, I use Slackware
But, we will use CentOS (possibly along with Slackware :)
№9 слайд![Fish vs. Fishing Manpage man](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img8.jpg)
Содержание слайда: Fish vs. Fishing
Manpage
$ man ls
$ man 2 mkdir
$ man man
$ man -k mkdir
Manpage sections (LAH Table 1.2 @ page 12)
1 User-level cmds and apps
/bin/mkdir
2 System calls
int mkdir(const char *, …);
3 Library calls
int printf(const char *, …);
№10 слайд![Fish vs. Fishing cont Google](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img9.jpg)
Содержание слайда: Fish vs. Fishing (cont)
Google
linux package management -rpm
“linux package management” -rpm
linux OR windows
rpm site:redhat.com
linux faq filetype:pdf
Info
Text-base, menu-based help from GNU
?, h, u, t, ^N, ^P, Enter
$ info info
№11 слайд![Basic Commands ls ls -l ls -a](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img10.jpg)
Содержание слайда: Basic Commands
ls
$ ls -l
$ ls -a
$ ls -la
$ ls -l --sort=time
$ ls -l --sort=size -r
cd
$ cd /usr/bin
pwd
$ pwd
~
$ cd ~
~user
$ cd ~weesan
What will “cd ~/weesan” do?
№12 слайд![Basic Commands cont echo echo](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img11.jpg)
Содержание слайда: Basic Commands (cont)
echo
$ echo “Hello World”
$ echo -n “Hello World”
cat
$ cat /etc/motd
$ cat /proc/cpuinfo
cp
$ cp foo bar
$ cp -a foo bar
mv
$ mv foo bar
mkdir
$ mkdir foo
№13 слайд![Basic Commands cont tar tar](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img12.jpg)
Содержание слайда: Basic Commands (cont)
tar
$ tar cvfp lab1.tar lab1
gzip
$ gzip -9 lab1.tar
untar & ungzip
$ gzip -cd lab1.tar.gz | tar xvf –
$ tar xvfz lab1.tar.gz
touch
$ touch foo
$ cat /dev/null > foo
№14 слайд![Basic Commands cont Disk](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img13.jpg)
Содержание слайда: Basic Commands (cont)
Disk usage
$ df -h /
File space usage
$ du -sxh ~/
Advance stuff
$ ssh eon who
$ ssh eon ‘cd .html ; tar cvfp - cs183 | gzip -9c’ | tar xvfpz -
$ ssh kilo-1 ‘tar cvfp - /extra/weesan’ | tar xvfp - -C /
№15 слайд![Vi modes Input mode ESC to](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img14.jpg)
Содержание слайда: Vi
2 modes
Input mode
ESC to back to cmd mode
Command mode
Cursor movement
h (left), j (down), k (up), l (right)
^f (page down)
^b (page up)
^ (first char.)
$ (last char.)
G (bottom page)
:1 (goto first line)
Swtch to input mode
a (append)
i (insert)
o (insert line after
O (insert line before)
№16 слайд![Emacs emacs Cursor movement f](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img15.jpg)
Содержание слайда: Emacs
$ emacs
Cursor movement
^f (forward one char.)
^b (backward one char.)
^a (begin of line)
^e (end of line)
^n (next line)
^p (prev. line)
^v (page up)
alt-v (page down)
Deletion
^d (delete one char)
alt-d (delete one word)
^k (delete line)
№17 слайд![Q amp A](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img16.jpg)
№18 слайд![References LAH Ch Where to](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img17.jpg)
Содержание слайда: References
LAH
Ch 1: Where to Start
Unix history
http://en.wikipedia.org/wiki/Unix
http://upload.wikimedia.org/wikipedia/commons/7/77/Unix_history-simple.svg
Linus Torvalds
http://en.wikipedia.org/wiki/Linus_Torvalds
Linux Kernel
http://www.kernel.org/
№19 слайд![References GNU Gnu s Not Unix](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img18.jpg)
Содержание слайда: References
GNU (Gnu’s Not Unix)
http://www.gnu.org/
Linux Distribution
http://en.wikipedia.org/wiki/Linux_distribution
http://en.wikipedia.org/wiki/List_of_Linux_distributions
PS2: Computational Cluster
http://arrakis.ncsa.uiuc.edu/ps2/cluster.php
Linux Gadgets
http://linuxdevices.com/articles/AT4936596231.html
TiVo
http://dynamic.tivo.com/linux/linux.asp
№20 слайд![References Nintendo DS Lite](/documents_6/f2f1784bc7b2e9256fded2ef26a0556e/img19.jpg)
Содержание слайда: References
Nintendo DS Lite
http://www.nintendo.com/ds/
Nokia N810
http://www.nokia.com/
http://www.engadget.com/2007/10/17/nokia-n810-gets-official/
Linux Distribution
http://en.wikipedia.org/wiki/Linux_distribution
GNU/Linux Distro Timeline: http://futurist.se/gldt/
http://www.distrowatch.com/
http://www.linux.org/dist/
Google Advance Search
http://www.google.com/intl/en/help/refinesearch.html