Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Unix/Linux R Bigelow. Why Learn UNIX/Linux? Users are able to access the operating system at a lower level, thus gaining a higher level.

Similar presentations


Presentation on theme: "Introduction to Unix/Linux R Bigelow. Why Learn UNIX/Linux? Users are able to access the operating system at a lower level, thus gaining a higher level."— Presentation transcript:

1 Introduction to Unix/Linux R Bigelow

2 Why Learn UNIX/Linux? Users are able to access the operating system at a lower level, thus gaining a higher level of understanding regarding the principles of operating systems The open source movement that is spearheaded by Linux. (Which is a UNIX variant.) Can save developers/administrators months time and thousands of dollars.

3 Interactive Discussion What is Open source? Is this different from Free software? How? What are some of the benefits of using open source software?

4 Benefits of Unix/Linux UNIX is written in C/C++, a high level language, rather than assembly language, as most other OSs. UNIX is therefore easily ported from system to system. UNIX runs on everything from super-computers to small scale embedded systems. Source code is readily available and accessible. It is developed and maintained by Thousands and thousands of developers.

5 Why Is UNIX So Difficult? The operating system was designed and implemented by experienced programmers so everything which the experienced programmer needs is present, but not much else.(Improves performance). Experienced programmers find the command line interface very useful, but beginning UNIX users often find it overwhelming. The emergence of graphical user interfaces for UNIX has made UNIX more accessible.

6 Multics In the mid ‘60s, MIT, bell labs, and general electric teamed to build an OS for a large computer, the GE-645 that would accommodate 1,000 simultaneous users. Multics (multiplexed information and computing service). In march ‘69, bell pulled out of the project. “Three people could overload it.”

7 The Roots of Unix Thompson found a cast-off PDP-7 with the intent to write a file system. This file system became the roots of Unix. Unix was originally called UNICS, a pun on Multics (Uniplexed information and computing service). Unix struggled along on an obsolete, under- powered machine until the PDP-11 was released.

8 Lessons Learned From Multics Tree-structured file system Separate, identifiable program to do command interpretation (the shell) Structure files with no structure except as a sequence of bytes, in most cases with no interpretation by the OS

9 Lessons Learned From Multics Text files as simple sequences of characters separated by new-lines Semantics of I/O operations (read and write) as referring to a file handle, buffer, and a count, thus concealing the underlying structure of the device

10 The Birth of Unix In 1970, Thompson and Ritchie convinced the Bell Labs patent department to fund purchase of a PDP- 11/20 for use in text processing This ruse allowed them to develop Unix

11 The Birth of Unix “We knew there was a scam going on-- we’d promised a word processing system, not an operating system.” Dennis Ritchie BTL patent department became first users of Unix, taking over the machine but giving Thompson and Ritchie enough funds to purchase a PDP-11/45

12 Thompson, Ritchie with PDP-11

13 Unix Philosophy Write programs that do one thing and do it well Write programs that work together, allowing the output of one to become the input of another Write programs that handle text streams, because that is a universal interface Don’t hesitate to build new programs to do a job.

14 The Unix Explosion February 1973, the third edition of the UNIX PROGRAMMER’S MANUAL appeared, along with a C compiler and debugger. Thompson and Ritchie submitted an abstract for a presentation to the ACM symposium on operating systems principles

15 The Unix Explosion When the paper was published in communications of the ACM in July 1974, Unix took off In 1983, they shared the ACM’s Turing award for their work.

16 The Law January, 1949 DOJ filed an antitrust complaint against western electric and AT&T. In January, 1956, a “consent decree” (Resolution) was entered.

17 The Law AT&T and western electric were prevented “from commencing... manufacture for sale or lease any equipment [other than that used in providing telephone or telegraph services],” AT&T was prevented “from engaging in any business other than the furnishing of common carrier communications services”

18 The Concern AT&T was required to reveal what patents it held and to license to anyone at nominal fees

19 The Concern The lawyers at bell labs, a wholly owned subsidiary of AT&T and western electric were conservative. “No business but phones and telegrams” Suddenly requests started flowing in for Unix licenses. Computers weren’t “phones and telegrams” thus putting them in danger of antagonizing the justice department.

20 AT&T Unix Policy To preclude any conflict with the consent decree, AT&T would license Unix but make it clear that it had no intention of pursuing software as a business Bell system support policy: No advertising No support No bug fixes Payment in advance

21 The Growth of Unix May 1974 - “nearly a dozen” Spring ‘75 - “three dozen” June ‘75 - “plus 20 new installations” October ‘75 - 60 installations March ‘76 - 80 installations September ‘76 - 138 installations

22 Berkeley Unix Robert Fabrey, of UC Berkeley, was on the SOSP program when Thompson presented his paper Together with the math department, he purchased a PDP-11/45 and had Unix running by Jan ‘74 By ‘78 bill joy had produced a Pascal compiler and began producing the Berkeley software distribution (BSD) for $50 containing: Unix Pascal system Ex text editor

23 Why Was BSD So Important? Something was created at BTL and distributed in source code form A user in the UK created something from it A user in California improved on both the original and the UK version

24 Why Was BSD So Important? It was distributed to the user community at cost The improved version was incorporated into the next BTL release There was no way BTL patent and licensing could control this!

25 BSD Unix and the Internet DARPA wanted its contractors on a common computer system In late 1980, bill joy convinced DARPA that the software platform should be Unix, DARPA had already decided on the DEC VAX for the hardware

26 BSD Unix and the Internet TCP/IP, the language of the internet, was added to BSD 4.2 at DARPA’s request, along with the Berkeley fast file system Unix emerged from this as the machine that fuelled the original internet (ARPANET)

27 Then along came Linux Prior to Linux, UNIX was primarily a server or mainframe operating system, that was extremely expensive. Enter a young graduate student named Linus Torvalds, who while working on a personal hobby project while in University would forever change how and where UNIX is used.


Download ppt "Introduction to Unix/Linux R Bigelow. Why Learn UNIX/Linux? Users are able to access the operating system at a lower level, thus gaining a higher level."

Similar presentations


Ads by Google