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.

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

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

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

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

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 .

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

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

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

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

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

makes directory .More Common Commands mkdir .

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

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

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

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

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

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

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

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

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

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

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

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

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 .