(and what is it anyway?) Part I Bob Eager History of UNIX – Part I1.

Slides:



Advertisements
Similar presentations
C language was developed in early 1970s by Dennis Ritchie at Bell Laboratories to implement the UNIX operating system on the PDP-11 manufactured by DEC.
Advertisements

By- Anjali Bhardwaj. An operating system (OS) is a collection of software that manages computer hardware resources and provides common services for computer.
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
RISC By Don Nichols. Contents Introduction History Problems with CISC RISC Philosophy Early RISC Modern RISC.
CMPTR1 CHAPTER 3 COMPUTER SOFTWARE Application Software – The programs/software/apps that we run to do things like word processing, web browsing, and games.
Operating Systems - Introduction S H Srinivasan
Operating Systems Every computer has two fundamental components: hardware and software The term hardware refers to the physical components inside a computer.
Xuan Guo Chapter 1 What is UNIX? Graham Glass and King Ables, UNIX for Programmers and Users, Third Edition, Pearson Prentice Hall, 2003 Original Notes.
Fundamentals of Software Development 1Slide 1 Dennis Ritchie and Brian Kernighan What’s C, exactly?What’s C, exactly? A portable language developed by.
Brief History of C and Unix Systems Programming Concepts.
AN INTRODUCTION TO LINUX OPERATING SYSTEM Zihui Han.
Unix Presentation. What is an Operating System An operating system (OS) is a program that allows you to interact with the computer -- all of the software.
What is Unix Prepared by Dr. Bahjat Qazzaz. What is Unix UNIX is a computer operating system. An operating system is the program that – controls all the.
Operating Systems Chapter 4.
C: A VERY BRIEF HISTORY & STANDARDS © 1/4.
Operating Systems Basic PC Maintenance, Upgrade and Repair Mods 1 & 2.
“C” Programming Language What is language ? Language is medium of communication. If two persons want to communicate with each other, they have to use.
Chapter 10 – UNIX. History In late 1960s, two employees of Bell Labs (Ken Thompson & Dennis Ritchie) designed a new operating system to overcome the constraints.
System Calls 1.
CS 3305 Course Overview. Introduction r Instructor: Dr Hanan Lutfiyya r Office: MC 355 r hanan at csd dot uwo ca r Office Hours: m Drop-by m Appointment.
Operating Systems. Operating systems  Between the hardware and the application software lies the operating system. The operating system is a program.
Module 2 Part I Introduction To Windows Operating Systems Intro & History Introduction To Windows Operating Systems Intro & History.
(and what is it anyway?) Bob Eager
1 ITSK 2611 Welcome. 2 Operating System 3 What is an OS Resource Manager –Disk –Memory –CPU Device Manager –Printers –Video Card –Sound Card Utility.
LINUX/UNIX WORKSTATIONS Franklin Montenegro Carlos Sierra.
By Tanner And Whitney.  The CPU of a computer does most of the work.  It changes information it takes out of the RAM  Uses input and output devices.
LINUX System : Lecture 2 OS and UNIX summary Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.
UNIX OS By: Desmond Dagg Alannah Storm Mullins Carl Kavanagh Gareth Dunne Behzad Sanehi.
Module 1 Introduction to UNIX/Linux
Chapter 1: Welcome to Linux An intro to UNIX-related operating systems.
Unix Background. Introducing Unix Brief Unix History u In 1969, Ken Thompson at AT&T Bell Labs began developing Unix. –First done in assembly language.
LIS508 background of GNU/Linux
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
Unix/Linux. What is Unix & Linux? Unix is a computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs, including.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview Part 2: History (continued)
Operating System Part II: Introduction to the Unix Operating System (The Evolution of Unix)
CE Operating Systems Lecture 3 Overview of OS functions and structure.
F PRESENTED BY YAN FENG F STUDENT ID: F Instructor: Professor Morteza Anvari F DATE: 03/17/2001.
History of UNIX a short version CSCI 333 August 31, 2011.
Computers & Operating Systems
UNIX Operating Systems and Kernels Presented By: Walter Haynes April 26, 2007.
1 Operating Systems: Principles and Practice Cpr E 308.
CS2204: Introduction to Unix January 19 th, 2004 Class Meeting 1 * Notes adapted by Christian Allgood from previous work by other members of the CS faculty.
Module 2 Part I Introduction To Windows Operating Systems Intro & History Introduction To Windows Operating Systems Intro & History.
An operating system is the software that makes everything in the computer work together smoothly and efficiently. What is an Operating System?
CSCI 330 UNIX and Network Programming Unit I Introduction.
Introduction 1 Chapter 1. Introduction History and Proliferation Mandate for Change What’s Good and Wrong Scope of this course.
Background & History of UNIX & Linux Fort Collins, CO Copyright © XTR Systems, LLC The Background and Short History of UNIX & Linux Instructor: Joseph.
Introduction to UNIX CS 2204 Class meeting 1 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
Introduction to UNIX CS465. What is UNIX? (1) UNIX is an Operating System (OS). An operating system is a control program that allocates the computer's.
Open Source Software. Chris Moylan Group 5...I think.
Agenda UNX122_022_w1_p3 Overview of UNIX
Introduction to C Programming Language. History of C  C was evolved by Dennis Ritchie at AT&T Bell Laboratories in early of 1970s  Successor of: ALGOL.
Operating Systems Overview Basic Computer Concepts Operating System What does an operating system do  A computer’s software acts similarly with.
An operating system (OS) is a collection of system programs that together control the operation of a computer system.
OPS224 Operating Systems - Unix Instructor: MURRAY SAUL.
Computer Center | Network Group IISER Bhopal Introduction to Basic Component of Computer System Vinay Bajpai iiserb.ac.in Computer Center Indian.
UNIX Operating System. A Brief Review of Computer System 1. The Hardware CPU, RAM, ROM, DISK, CD-ROM, Monitor, Graphics Card, Keyboard, Mouse, Printer,
OS Basics. 1 1 Key Concepts 2 2 A Bit of History 3 3 Activity - File System 4 4 Outline.
Introduction to unix. The UNIX Operating System An operating system "OS” is a set of programs that controls a computer. It controls both the hardware.
Chapter 2 Operating Systems
Linux Operating Systems Taking Control of the Terminal
A LECTURE NOTE.
Operating System & Application Software
Advanced Operating Systems (CS 202)
Lecture 1-Part 2: Operating-System Structures
Popular Operating System Chapter 8
Compiler Construction
A short Linux History of UNIX/Linux
Copyright ©2008 by Pearson Education, Inc
Presentation transcript:

(and what is it anyway?) Part I Bob Eager History of UNIX – Part I1

An overview What is UNIX? loosely speaking, it’s a computer operating system operating systems are the programs that ‘run’ computers examples of other operating systems are Windows, MacOS X, etc. Is it new? no, it first saw the light of day in the very early 1970s but it has changed and grown a lot since then Do many people use it? many millions! Can I run my Windows programs on it? sometimes, but that’s not the point – there are free alternatives History of UNIX – Part I2

UNIX is actually a trademark, although it’s used informally for: UNIX derivatives : FreeBSD, OpenBSD, NetBSD, etc. UNIX lookalikes (wannabes!): ‘Linux’ systems in all their many incarnations ‘real’ UNIX™ systems (i.e. those that can legally use the name): MacOS X (Apple) Solaris (Sun, now Oracle) HP-UX (Hewlett-Packard, or HP) AIX (IBM) History of UNIX – Part I3

so really, it’s merely a name applied to a specification of a system but since they all look similar, they get called ‘UNIX’! many versions available (mostly open source and free) user friendly (ish), but picky about its friends! although much more friendly (less hostile?) than it used to be for example, it now has a graphical user interface… …but the real power lies in the original ‘command line’ originally, UNIX worked entirely at the command line and still does, if you want it that way real UNIX users mostly use the command line – it’s very fast and productive here’s a sample… History of UNIX – Part I4

5

UNIX features originally based around a textual command prompt now provides a graphical user interface in fact, many different graphical user interfaces take your pick – some of the GUIs are excessively bloated! multi-user proper security makes it harder to do accidental damage... remote access via network (or hardwired) extensive networking support very rich set of features and applications So, how did it all start? History of UNIX – Part I6

Phase I – the mini systems UNIX was internally developed by researchers at Bell Laboratories in the USA, in the late 1960s/early 1970s Ken Thompson, Dennis Ritchie, and others (picture soon) the initial system (First Edition) was on a spare PDP-7 (an 18-bit machine), and it was capable of building programs, and text processing – this was between 1969 and 1971 by 1973, it had been rewritten in a new language called C. This had developed from a previous Bell Labs language called B - which was in turn based on a language called BCPL BCPL was developed at the University of Cambridge, UK, in the mid 1960s – a completely typeless language, much more ‘dangerous’ than C! in 1975, Sixth Edition UNIX was released to academic and research institutions - it arrived at Kent in July 1975, being the first system in England, if not the UK History of UNIX – Part I7

Kent’s copy of Sixth Edition arrived on three exchangeable disks of 2.4MB each: History of UNIX – Part I8

Here’s the drive it fitted into: History of UNIX – Part I9

at Kent, Sixth Edition UNIX ran on a Digital Equipment Co (DEC) PDP-11/40; a 16 bit machine with 112kB of memory (costing tens of thousands of pounds) this supported 6 simultaneous users (most of the CS students at the time!) if you want to try running this version, a free licence is now available disk images and a PDP-11 simulator are available – more later the Kent system ran for over 5 years before it was replaced by a VAX (see later) History of UNIX – Part I10

What was this PDP-11? made by the Digital Equipment Corporation of Massachusetts one of the most successful minicomputers of all time at one point, Kent probably had at least ten of them Bob owns four! 16 bits, memory from about 56kB up to 2MB or so (mostly at the low end) many possible peripherals some in big cabinets, some in deskside towers Now for some historical pictures…. History of UNIX – Part I11

Hardware – a PDP-11/40 CPU! This was in a full height rack (6 feet high), modules 19 inches wide…this is just the CPU and memory History of UNIX – Part I12

More hardware! A big PDP-11 (actually, two), with Ritchie and Thompson using it: History of UNIX – Part I13 Dennis Ritchie Ken Thompson

In the previous picture, note the main I/O device – the teletype; this ran at 10 characters/second, in upper case only: History of UNIX – Part I14

Students needed long term storage (as we use USB sticks today); the equivalent was the DECtape, storing 300kB or so of data: History of UNIX – Part I15

just about small enough to carry around in a (large) pocket… History of UNIX – Part I16

a micro PDP-11! deskside size often used for word processing circa mid 1980s Bob has one of these... History of UNIX – Part I17

Seventh Edition UNIX appeared in 1979, and included various enhancements. It was a very tight squeeze except on more expensive PDP-11s (which supported an operating system area of 120kB instead of 56kB) at about the same time, an interesting derivative was UNIX 2.9BSD, a modified version developed by staff (and, largely, graduate students) at the University of California at Berkeley (the Berkeley System Distribution, or Berkeley Software Distribution) included networking again a very tight fit! Kent didn’t have an expensive PDP-11, so never really used these a great deal it is said that only two important things came out of Berkeley at that time: BSD and the drug LSD – and that this is no coincidence! History of UNIX – Part I18

Bell Labs also produced ‘Mini-UNIX’, which ran on really small PDP-11s and supported (effectively) just one user with some limitations (no real pipes, for example) (~1978) still on the PDP-11 series, but low end ones this was limited simply because it ran on machines with the minimum amount of memory, and no memory management hardware at all really just a feasibility project, although fun to look at but it was possible to do real work on it History of UNIX – Part I19

UNIX source code was not meant to be shown to undergraduates, but someone actually used it to teach operating systems… this was a man called John Lions, at the University of New South Wales, Australia he went further, and in 1977 had the UNIX kernel source code made into a book, with his own companion volume as a ‘commentary’ on the code probably one of the most interesting computer science/operating systems publications ever produced it was circulated internally in UNSW, and also sold to UNIX licensees unfortunately, Bell Labs/AT&T were not happy, and essentially had the books rationed to one per company/institution after the first print run was sold; by 1978 they were completely unavailable despite the books being under copyright, “they must be the most frequently photocopied books in the whole area of computer science” History of UNIX – Part I20

they were finally republished as a single volume in 1996 – see link on website later History of UNIX – Part I21

UNIX was (and is) written mostly in the C language; here’s a sample: /* * Switch to stack of the new process and set up his segmentation registers. */ retu(rp->p_addr); sureg(); /* * If the new process paused because it was swapped out, set the stack level to the * last call to savu(u_ssav). This means that the return which is executed * immediately after the call to aretu actually returns from the last routine which * did the savu. */ /* * You are not expected to understand this. */ if(rp->p_flag&SSWAP) { rp->p_flag =& ~SSWAP; aretu(u.u_ssav); } /* * The value returned here has many subtle implications. * See the newproc comments. */ return(1); History of UNIX – Part I22 comments code

yes, C looks a bit like Java, but pre-dates it by decades! the C ‘look’ has been adopted by many other languages C is a very low level language, and allows the programmer to do pretty well anything even if it’s dangerous even if it makes no sense at all which is why it’s fun… UNIX systems are written almost entirely in C a few hundred lines, at most, may be written in assembler, to interface with the hardware in other words, the innermost layer of our operating system kernel History of UNIX – Part I23

Next time… we’ll look at: the progress of UNIX to bigger systems political and commercial differences the hairy guy true hackers the PC embedded UNIX systems what you’ll be doing next History of UNIX – Part I24