510lec01 Overview
510lec01 Overview
Systems
Programming
Lecture 01 - Template
Slide - 3
Systems Programming by John Donovan, 1972 1/14/2013 CSCE 510 Sp
13 -
The Dark Ages - JCL
Darkages ~ 1972
JCL?
Batch Processing
Job card?
Slide - 4
Systems Programming by John Donovan, 1972 1/14/2013 CSCE 510
What is CSCE 510?
First version – assembly language,
macro processors,
linkers …
Unix/C version circa 1987 2002 version
Make
M4/cpp macro processors
Shell1: variables, regexps, filename completion, history
Shell2: I/O redirection, signals, …
webserver
2008 Summer version – done in ruby
Slide - 8
Linux Journal December 2012 1/4/2013 CSCE 510 Sp 13
-
Slide - 9
Linux Journal December 2012 1/4/2013 CSCE 510 Sp 13
-
More Linux Journal Best of 2012
Best IDE –Eclipse 27%, vim 26%, Netbeans 5% …
BEST REVISION CONTROL SYSTEM Git 63%, Subversion 18.6%, …
BEST OPEN-SOURCE CONFIGURATION MANAGEMENT TOOL – Puppet
42% …
BEST PLATFORM FOR DEVELOPING RICH INTERNET APPS - HTML5 87%
BEST PACKAGE MANAGEMENT APPLICATION – apt 34%
BEST CONTENT MANAGEMENT SYSTEM
WordPress 35%, Drupal 28%, Joomla 15%
BEST LINUX-FRIENDLY WEB HOSTING COMPANY–other 19%
BEST LINUX BOOK
Tie between Linux in a Nutshell and Debian Administrator’s Handbook
Second place goes to The Linux Programming Interface: A Linux and UNIX
System Programming Handbook, by Michael Kerrisk.
BEST OTHER LINUX-BASED GADGET – Raspberry Pi
Slide - 10
Linux Journal December 2012 1/4/2013 CSCE 510 Sp 13
-
A Brief History of Time (UNIX and C)
1969 – First Unix Ken Thompson at AT&T Bell Labs
Unix pun on MULTICS
Ideas from Multics:
Tree structured file system
Program for interpreting commands (shell)
Files – unstructured streams of bytes
1970 Unix rewritten in assembly for DEC PDP-11
C – Dennis Ritchie – a systems programming language
BCPL B (Thompson) C
1970 Kernel rewritten in C – eases porting to other
machines
1984 Turing Award Lecture – C compiler learned
backdoor
Slide - 11
Chapter 1 and … 1/4/2013 CSCE 510 Sp 13
-
Berkeley Software Division (BSD)
(1975) Thompson visiting Prof. at UC-Berkeley
A student Bill Joy added new features
Vi editor
C shell
First paging virtual memory management (Unix) BSD 4.2
Sendmail, Pascal compiler
Later co-founded Sun Microsystems
BSD 4.2 (1983) – full TCP/IP & sockets API
Slide - 14
http://en.wikipedia.org/wiki/Linux 1/4/2013 CSCE 510 Sp 13
-
GNU
Recursive acronym “GNU’s not UNIX”
http://www.gnu.org/ not http://www.gnu.com/
Richard Stallman (1983) Goal a free Unix
Known for Free Software movement, GNU, Emacs, gcc
Never really released GNU operating system
Slide - 16
http://en.wikipedia.org/wiki/Linux 1/4/2013 CSCE 510 Sp 13
-
Computer Science Concepts- Interrupt
Mr. Smith has a plan that
he is executing
“run for touchdown”
Suddenly an interrupt
arrives
Clowney
Now he is executing
another plan
Find helmet, walk to
sideline
Permissions
hermes> ls -l
…
drwxr-xr-x 2 matthews faculty 57 2012-10-15 09:54 acl