Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX...

34
Introduction to Unix (Linux, OSX, FreeBSD, …….) Des Johnston, Heriot-Watt University Postgraduate student training course, Perth 2007

Transcript of Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX...

Page 1: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

Introduction to Unix (Linux, OSX, FreeBSD,

…….)

Des Johnston, Heriot-Watt University

Postgraduate student training course, Perth 2007

Page 2: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

• Ought to be a really short talk

• Type “introduction to Unix” or “introduction to Linux” into Google......

• http://tldp.org/LDP/intro-linux/html/

• http://wwwhomes.doc.ic.ac.uk/~wjk/UnixIntro/

Page 3: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive
Page 4: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

• A little bit of history

• Why UNIX (*NIX)

• The “shell”

• Finding your way around

• A more modern veneer

What I will do...

Page 5: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

Why Aren’t we all paying Bill?

Page 6: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

Kernighan Ritchie Thompson

Because of these men with beards

Page 7: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

And this man with a beard

Richard Stallman - GNU

Page 8: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

Linus Torvalds Steve Jobs

And these men without beards

Page 9: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive
Page 10: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

1995 Windows 95

1993 Windows NT

2001 Windows XP

1990 Windows 3.0

2007 Windows Vista

ancient times DOS

Page 11: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

What did we see? DOS

Page 12: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

Windows 3.11

Page 13: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

What do we see now? WinXP

Page 14: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

Windows Vista

Page 15: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

Ubuntu Linux

Page 16: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

Fedora Linux

Page 17: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

OpenSuSE Linux

Page 18: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

OSX

Page 19: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive
Page 20: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive
Page 21: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive
Page 22: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

• cd some_directory/

• cd ../

• cd

• cd /a_path_to_somewhere/

• cd ~des

Page 23: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive
Page 24: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive
Page 25: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive
Page 26: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive
Page 27: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive
Page 28: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive
Page 29: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive
Page 30: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

• lpr

• lpq

• dvips

Printing Things

Page 31: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

• |

• >

Stringing it all together......

Page 32: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

• !

• Tab completion

• man

• apropos

Arcana

Page 33: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

• It wasn’t a short talk - sorry

• Type “introduction to Unix” or “introduction to Linux” into Google......

• http://tldp.org/LDP/intro-linux/html/

• http://wwwhomes.doc.ic.ac.uk/~wjk/UnixIntro/

Page 34: Introduction to Unix (Linux, OSX, FreeBSD,…….)des/Unix_talk_black.pdf · Introduction to UNIX Course Outline These lecture notes and exercises are designed to support an intensive

The End