You are on page 1of 34

Brief Linux Presentation

July 10th, 2006
Elan Borenstein

History
1965 - Bell Labs (AT&T), GE and MIT Project to develop a new (multiuser, multitasking) operating system - MULTICS. (not successful)

History
1965 - Bell Labs (AT&T), GE and MIT Project to develop a new (multiuser, multitasking) operating system - MULTICS. (not successful) 1969 - Ken Thompson and Dennis Ritchie implemented the first UNIX system for the PDP-7.

multitasking) operating system .MULTICS. GE and MIT Project to develop a new (multiuser. .Ken Thompson and Dennis Ritchie implemented the first UNIX system for the PDP-7. (not successful) 1969 .Bell Labs (AT&T).History 1965 .The UNIX system was rewritten in the C programming language. 1973 .

The UNIX system was rewritten in the C programming language. (not successful) 1969 . 1973 . GE and MIT Project to develop a new (multiuser.University of California.Ken Thompson and Dennis Ritchie implemented the first UNIX system for the PDP-7. Berkeley (UCB) Developed BSD UNIX because new commercial UNIX releases no longer included the source code. 1982 . multitasking) operating system . .Bell Labs (AT&T).MULTICS.History 1965 .

.Richard Stallman started the GNU project to create a free operating system.History (continued) 1984 . By 1991 they created a lot of the tools but no kernel.

Richard Stallman started the GNU project to create a free operating system. By 1991 they created a lot of the tools but no kernel. .History (continued) 1984 . Professor Andrew Tanenbaum wrote the operating system MINIX from scratch to teach his students the inner workings of a real operating system.

01 is released.Richard Stallman started the GNU project to create a free operating system. . By 1991 they created a lot of the tools but no kernel.History (continued) 1984 . September 1991 . Linus Torvalds starts working on a new operating system inspired by MINIX.Linux version 0. Professor Andrew Tanenbaum wrote the operating system MINIX from scratch to teach his students the inner workings of a real operating system. Apr 1991 .At age 21.

Overview -GNU/Linux Linux Kernel GNU tools .

Overview -GNU/Linux Linux Kernel GNU tools -Graphical User Interfaces (GUI) Gnome KDE .

Overview -GNU/Linux Linux Kernel GNU tools -Graphical User Interfaces (GUI) Gnome KDE -Distributions Debian Mandrake Red Hat Ubuntu .

Logging In and Out -Need account on machine(s) you want to log in to: username and password -Local Login -Remote Login ssh [-X] username@machineAddress -Opening a Terminal (command line prompt) -Exiting and Logging Out exit .

The Unix Filesystem .

Common Commands pwd .shows the current directory .

directory one level up Tab Completion! ..Common Commands pwd ./ ./ -relative path .changes directory / -absolute path .shows the current directory cd .

/ -relative path ..directory one level up Tab Completion! ls .lists files [-al] permissions: d|rwx|rwx|rwx .changes directory / -absolute path ./ .shows the current directory cd .Common Commands pwd .

changes directory / -absolute path .manual (help) ./ -relative path .shows the current directory cd .directory one level up Tab Completion! ls .Common Commands pwd ../ .lists files [-al] permissions: d|rwx|rwx|rwx man .

.directory one level up Tab Completion! ls ./ -relative path .pico . vim . gedit.changes directory / -absolute path .lists files [-al] permissions: d|rwx|rwx|rwx man .shows the current directory cd . ..Common Commands pwd .manual (help) emacs..file editors ./ ..

tail .. vim ./ -relative path .lists files [-al] permissions: d|rwx|rwx|rwx man .changes directory / -absolute path ..shows the current directory cd .directory one level up Tab Completion! ls . ../ .pico . more. gedit. cat.manual (help) emacs.Common Commands pwd .file editors less..examines files .

More Common Commands mkdir .makes directory .

makes directory rmdir .removes directory .More Common Commands mkdir .

copies .removes directory cp .More Common Commands mkdir .makes directory rmdir .

makes directory rmdir .moves .More Common Commands mkdir .copies mv .removes directory cp .

makes directory rmdir .More Common Commands mkdir .removes directory cp .removes [-r] .copies mv .moves rm .

prints file on selected printer hp4si hp5si .More Common Commands mkdir .removes [-r] lpr -Pprintername filename .moves rm .makes directory rmdir .removes directory cp .copies mv .

Even More Common Commands command & .runs command in background .

runs command in background | .(pipe) links commands together (right side runs on output of left side) command .Even More Common Commands & .

finds matching expressions command selections * .one character .(pipe) links commands together (right side runs on output of left side) grep .runs command in background | .Even More Common Commands & .any number of characters ? .

runs command in background | .finds matching expressions command selections * .previous commands .any number of characters ? .(pipe) links commands together (right side runs on output of left side) grep .Even More Common Commands & .one character up arrow .

shows running processes [-aux] .Finding and Killing Processes ps .

Finding and Killing Processes ps .shows running processes [-aux] kill .kills a process [-9] .

Finding and Killing Processes ps .kills a process [-9] find .shows running processes [-aux] kill .finds files whose name matches pattern [-name] .

GNOME -Terminal -Multiple Desktops -Places -Applications Firefox Web Browser Open Office Maple (maple or xmaple -cw) Matlab (matlab) Ansys (launcher90 -runae fontsize 18) Nessus (NESSUS) -Quick Launcher .

Acknowledgments Yuriy Gulak Haym Benaroya .