Unix Ka-Lok Ng () Department of Biological Sciences and Biotechnology() Taichung Healthcare and Management University (O) 04-23323456 x1856 3408
Teach the student how to use Linux system using TEXT mode and set up a secure computing environment. Fedora Linux operating system, basic Unix command: file and directory, vi editor, Shell, system performance, system security, firewall (iptables, SQUID) 1 Fedora History of Unix, Simple UNIX command 2 File system 3 File and Directory Permission 4 Pipe and Filter 5 sort 6 Wild card Metacharacter grep 7 Process Control 8 vi 9 Mid-term 10 Shell, Unix 11 Shell script, Perl 12 Perl, MySQL 13 14 Fedora iptables, SQUID 15 16 17 18 Final examination
History of Unix - 1978 AT&T, Bell Lab. http://www.bell-labs.com/ - by Ken Thompson and Dennis Ritchie - Resource sharing, open system - Two versions of Unix : BSD (Berkeley), SVR4 (System V Release 4, AT&T) - TCP/IP protocol - Commercial Unix : IBM AIX, HP HP-UX, Silicon Graphics IRIX, Sun Microsystem Solaris, DEC Ultrix (acquired by Compaq acquired by HP) - Free Unix Linux (L. Torvalds, born December 28th 1969 in Helsinki, Finland), FreeBSD - Free Softwares (Richard Stallman), GNU= GNU s Not Unix,, GPL =General Public License Some peoples home pages http://www.levenez.com/unix/ Brian Kernighan, Dennis M. Ritchie, Ken Thompson developed Unix, C language Steve Jobs - CEO of Apple, reinvented the personal computer in the 1980s with the Macintosh OS Bill Joy - responsible for the authorship of Berkeley Unix (BSD), cofounder and Chief Scientist of Sun Microsystems Linus Torvalds Invent Linux Richard Stallman - founder of the free software movement, the GNU project, the Free Software Foundation The uniqueness of UNIX The features that made UNIX a hit from the start are: Multitasking capability time sharing operating system Multi-users capability
Portability UNIX programs Library of application software Multitasking capability Lets a computer do several things at once. Multi-users The same design that permits multitasking permits multiple users to use the computer. The computer can take the commands of a number of users. System portability UNIX tools - UNIX comes with hundreds of programs - UNIX e-mail - UNIX systems around the world were linked into a world wide web decades before the development of today's World Wide Web. Applications libraries Today there are hundreds of UNIX applications that can be purchased from third-party vendors, in addition to the applications that come with UNIX. How UNIX is organized The UNIX system is functionally organized at three levels: The kernel, which schedules tasks and manages storage; The shell, which connects and interprets users' commands, calls programs from memory, and executes them; and The tools and applications that offer additional functionality to the operating system References http://www.bell-labs.com/history/unix/tutorial.html
Fedora Linux installation - Fedora - hardware driver problem, such as Monitor, sound card - install EVEREST Home Edition -
Unix/Linux command $ $ $ $ $ $ $ $ $ $ $
$ $ $ $ $ $ $ $ $ $ $ $ $ $ $
$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $
$ $ $ $ $ $ $
$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $
$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $
$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $
$ $ $ $ $ $ $ $ $ $ $
$ $ $ $ $ $ $ $ $
$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $
$ $ $ $
$ $ $ $ $
- # crontab l - causes the current crontab to be displayed on standard output # crontab r - causes the current crontab to be removed gtar tvf tapelib1:/dev/rmt/5 gtar cvf tapelib1:/dev/rmt/5 /export/home/ftp/d1 gtar crontab FTP crontab crontab echo $EDITOR crontab vi.bashrc EDITOR=vi export EDITOR bash, crontab -e vi crontab e 0 14 * * 0-6 /usr/local/bin/gtar cvf tapelib1:/dev/rmt/5 /export/home/ftp/d1>backup.log (0-6Sun-Sat.) 2 0 (0 14) gtar backup.log, minute hour day month weekday command minute 0-59 01, 02 hour 0-23 day 1-31 month 1-12 weekday 1-7 * 01 * * * * ls l >/home/bio/lslrt ls l
Linux ADSL http://linux.vbird.org/linux_server/0140networkcommand.php#route
o o o o o o o
$ $ $ $ $ $ $ $ $
$ $ $ $ $ $
$ $
$ $