Difference between revisions of "UNIX"

From Computer History Wiki
Jump to: navigation, search
(Notable versions: Add other Bell versions)
(Add roots)
 
(16 intermediate revisions by the same user not shown)
Line 9: Line 9:
  
 
'''Unix''' (officially trademarked as '''UNIX'''® - the documentation switched from using 'UNIX' to 'Unix' as of [[Unix Seventh Edition|V7]]) is a computer [[operating system]] originally developed in the 1970s by a group of AT&T employees at Bell Labs including [[Ken Thompson]], [[Dennis Ritchie]] and [[Douglas McIlroy]].
 
'''Unix''' (officially trademarked as '''UNIX'''® - the documentation switched from using 'UNIX' to 'Unix' as of [[Unix Seventh Edition|V7]]) is a computer [[operating system]] originally developed in the 1970s by a group of AT&T employees at Bell Labs including [[Ken Thompson]], [[Dennis Ritchie]] and [[Douglas McIlroy]].
 +
 +
It was a descendant of, and inspired by, the [[Berkeley Time-Sharing System]] (on which Thompson worked), and [[Compatible Time-Sharing System|CTSS]] and [[Multics]] (on which all of them had worked, before [[Bell Labs]] withdrew from the Multics project).
  
 
Today's Unix systems are split into various branches, developed over time by AT&T as well as various commercial vendors and non-profit organizations. A number of clones of Unix, which share the interfaces, and 'look and feel', but no code, have also been produced; most notably, [[Linux]].
 
Today's Unix systems are split into various branches, developed over time by AT&T as well as various commercial vendors and non-profit organizations. A number of clones of Unix, which share the interfaces, and 'look and feel', but no code, have also been produced; most notably, [[Linux]].
  
==Notable versions==
+
==Notable Bell versions==
  
Versions of relevance for hobbyists include the initial versions from inside [[Bell Labs]]; it later spread more widely inside the Bell system, at the same time that it was starting to appear outside.
+
Versions of relevance for hobbyists include the initial versions from inside Bell Labs; it later spread more widely inside the Bell system, at the same time that it was starting to appear outside.
  
 
==='Research' versions===
 
==='Research' versions===
Line 22: Line 24:
 
* [[PDP-7 Unix|Unix "version 0"]] for [[PDP-7]]
 
* [[PDP-7 Unix|Unix "version 0"]] for [[PDP-7]]
 
* [[UNIX First Edition|UNIX V1]] - The first version of UNIX that has been recently made to run on the [[PDP-11]]
 
* [[UNIX First Edition|UNIX V1]] - The first version of UNIX that has been recently made to run on the [[PDP-11]]
 +
* [[UNIX Second Edition|UNIX V2]] - Unclear changes
 
* [[UNIX Third Edition|UNIX V3]] - The first version with [[pipe]]s
 
* [[UNIX Third Edition|UNIX V3]] - The first version with [[pipe]]s
 
* [[UNIX Fourth Edition|UNIX V4]] - The first version with the [[kernel]] written in [[C programming language|C]]
 
* [[UNIX Fourth Edition|UNIX V4]] - The first version with the [[kernel]] written in [[C programming language|C]]
Line 34: Line 37:
 
===Other AT&T versions===
 
===Other AT&T versions===
  
The rest of the Bell system, outside Bell Labs, soon found it useful, too:
+
The rest of the Bell system, outside Bell Labs, soon found it useful, too, and a number of disparate versions, intended for different environments, appeared:
  
* [[CB-UNIX]] - started very early, V3 or before
+
* [[CB-UNIX]] - for use in control applications, including [[real-time]] systems
* [[PWB/UNIX]] - used for production of other systems
+
* [[PWB/UNIX]] - used for production of other systems, in for computer center type usage
 
* [[USG UNIX]] - a version for general use inside the Bell system
 
* [[USG UNIX]] - a version for general use inside the Bell system
  
Unix then went commercial and was sold, in a number of releases. (Below is an early ad for AT&T UNIX.)
+
[[Image:Att842unixcomp.jpg|150px|thumb|right|Unix ad]]
 +
 
 +
These were later unified, and Unix then went commercial and was sold outside AT&T, in a number of releases. (To the side is an early ad for AT&T UNIX.)
  
 
* [[UNIX System III]]
 
* [[UNIX System III]]
Line 48: Line 53:
 
* [[Unix SYSVr4]]
 
* [[Unix SYSVr4]]
  
[[Image:Att842unixcomp.jpg|150px|thumb|left|Unix ad]]
+
Bell also moved UNIX to the [[IBM System/370]], as a 'supervisor' to [[user]] [[process]]es, under the [[TSS/370]] Resident Supervisor; the result, [[UNIX/370]], ran on a number of large System/370 machines at Bell.
<br clear=all>
+
 
 +
==Portable versions==
 +
 
 +
Fairly early on, it became obvious that UNIX, and most of its commands and subsystems, being written in [[C programming language|C]], would be [[portable]], relatively easily.
 +
 
 +
Portability was a little-recognized idea at the time; with a few exceptions (such as [[Multics]]), most operating systems were written in [[assembly language]], which tied them irretrievably to a particular [[instruction set architecture|ISA]]. Indeed, portability was not a stated goal of the UNIX project at any point; it likely became one of strengths of UNIX purely by accident.
 +
 
 +
The first two projects to move UNIX to another machine started almost simultaneously, and in ignorance of each other: one was at Bell, to move UNIX to the [[Interdata 8/32]]; the other was at the University of Wollongong, to the similar [[Interdata 7/32]]. Issues with the Interdata 8/32 prevented that project from being a success, but it produced [[Unix Seventh Edition]], the first portable version; that in turn was used for Unix/32V and UNIX/370.
  
== CSRG releases ==
+
==CSRG releases==
  
Meanwhile the [[Computer Systems Research Group‎]] kept on releasing newer [[BSD]] UNIX's, mostly for the [[VAX]], derived from 32V. These had wide distribution, and tremendous impact; they were a major step in UNIX's road to its current ubiguity.
+
Meanwhile the [[Computer Systems Research Group‎]] kept on releasing newer [[BSD]] UNIX's, mostly for the [[VAX]], derived from 32V. These had wide distribution, and tremendous impact; they were a major step in UNIX's road to its current ubiquity.
  
 
Descended from there are several popular versions:
 
Descended from there are several popular versions:
Line 60: Line 72:
 
* [http://www.netbsd.org NetBSD] will run on a variety of 32-bit older systems from the VAX to the [[Amiga]].   
 
* [http://www.netbsd.org NetBSD] will run on a variety of 32-bit older systems from the VAX to the [[Amiga]].   
 
* [http://www.openbsd.org OpenBSD] derived from the NetBSD project will run on all kinds of systems.
 
* [http://www.openbsd.org OpenBSD] derived from the NetBSD project will run on all kinds of systems.
 +
 +
==Further reading==
 +
 +
* Brian Kernighan, [https://www.amazon.com/UNIX-History-Memoir-Brian-Kernighan/dp/1695978552 UNIX: A History and a Memoir] - Kernighan's memoir of UNIX and Bell Labs
  
 
==See also==
 
==See also==
Line 74: Line 90:
 
* [https://www.tuhs.org/ The Unix Heritage Society]
 
* [https://www.tuhs.org/ The Unix Heritage Society]
 
** [https://minnie.tuhs.org/cgi-bin/utree.pl The Unix Tree] - Complete source for many early versions of Unix
 
** [https://minnie.tuhs.org/cgi-bin/utree.pl The Unix Tree] - Complete source for many early versions of Unix
 +
** [https://www.tuhs.org/Archive/Applications/Dennis_Tapes/ Dennis Tapes] - images of some dusty [[DECtape]]s Dennis found
 
* [https://wiki.tuhs.org/doku.php?id=start The Unix Heritage Wiki]
 
* [https://wiki.tuhs.org/doku.php?id=start The Unix Heritage Wiki]
 
* [https://www.bell-labs.com/usr/dmr/www/ Dennis M. Ritchie] - see section "Unix papers and writings, approximately chronological"
 
* [https://www.bell-labs.com/usr/dmr/www/ Dennis M. Ritchie] - see section "Unix papers and writings, approximately chronological"
** [https://www.bell-labs.com/usr/dmr/www/portpapers.html Papers about Unix Portability]
+
** [https://www.bell-labs.com/usr/dmr/www/cacm.html The UNIX Time-Sharing System] - the slightly later [[Bell System Technical Journal|BSTJ]] version
* [https://www.princeton.edu/~hos/Mahoney/unixhistory An Oral History of Unix] - Lengthy interviews with Thompson, Ritchie, McIlroy, etc
+
*** [https://dsf.berkeley.edu/cs262/unix.pdf The UNIX Time-Sharing System] - the classic original CACM paper that ignited the spread outside Bell (PDF, but not a scan)
 +
** [https://www.bell-labs.com/usr/dmr/www/hist.html The Evolution of the Unix Time-sharing System]
 +
** [https://www.bell-labs.com/usr/dmr/www/retro.html The UNIX Time-sharing System - A Retrospective]
 +
* [https://cseweb.ucsd.edu//classes/wi19/cse221-a/papers/thompson78.pdf UNIX Implementation] - a Thompson paper giving an overview of the kernel <!--
 +
https://www.singlix.com/trdos/archive/pdf_archive/thompson78unix.pdf -->
 +
* [https://maibriz.de/unix/ultrix/etc/iosys.pdf The UNIX I/O System] - a Ritchie document covering part of the same ground in more detail
 +
* [http://doc.cat-v.org/unix/ The UNIX Operating System]
 +
** [http://doc.cat-v.org/unix/unix-before-berkeley/ A History of UNIX before Berkeley: UNIX Evolution: 1975-1984]
 +
** [http://doc.cat-v.org/unix/unix-reader/ A Research UNIX Reader]
 +
* [https://www.princeton.edu/~hos/Mahoney/unixhistory An Oral History of Unix] - Lengthy interviews with Thompson, Ritchie, McIlroy, etc<!--
 +
http://doc.cat-v.org/unix/oral-history/ alt copy -->
 +
* [http://squoze.net/UNIX/bltj/ bltj] - the second [[Bell System Technical Journal|BSTJ]] issue on UNIX
 +
** [http://squoze.net/UNIX/bltj/06771906.pdf The UNIX System: Preface]
 +
** [http://squoze.net/UNIX/bltj/06771907.pdf The UNIX System: Foreword]
 +
** [http://squoze.net/UNIX/bltj/06771916.pdf Multiprocessor UNIX Operating Systems]
 +
** [http://squoze.net/UNIX/bltj/06771919.pdf The Evolution of UNIX System Performance]
 +
** [http://squoze.net/UNIX/bltj/06771925.pdf A Stream Input-Output System]
 +
* [https://www.bell-labs.com/usr/dmr/www/portpapers.html Papers about Unix Portability]
 +
** [https://www.bell-labs.com/usr/dmr/www/portpap.html Portability of C Programs and the UNIX System] - the 8/32 port
 +
* [http://www.columbia.edu/~rh120/ch106.x09 On the Early History and Impact of Unix: Tools to Build the Tools for a New Millenium] <!-- also https://cscie26.dce.harvard.edu/~dce-lib113/reference/unix/unix2.html http://www.columbia.edu/~hauben/book-pdf/CHAPTER%209.pdf -->
 +
* [https://www.abortretry.fail/p/the-berkley-software-distribution The Berkeley Software Distribution] - covers the early period, too
 +
* [https://akapugsblog.files.wordpress.com/2018/05/inter-unix_portability.pdf Inter-UNIX Portability] - mostly about the commands
 +
* [https://www.usenix.org/legacy/events/usenix09/tech/full_papers/toomey/toomey.pdf The Restoration of Early UNIX Artifacts] <!--
 +
https://www.singlix.com/trdos/archive/pdf_archive/toomey.pdf -->
 
* [https://multicians.org/unix.html Unix and Multics]
 
* [https://multicians.org/unix.html Unix and Multics]
  

Latest revision as of 17:47, 10 March 2024


UNIX
Type: Time-sharing
Creator: Ken Thompson, Dennis Ritchie and Douglas McIlroy at Bell Labs
Multitasking: Multi-tasking with swapping/paging (latter added in a later version)
Architecture: Originally PDP-7, then PDP-11; now cross-platform.
Date Released: 1969


Unix (officially trademarked as UNIX® - the documentation switched from using 'UNIX' to 'Unix' as of V7) is a computer operating system originally developed in the 1970s by a group of AT&T employees at Bell Labs including Ken Thompson, Dennis Ritchie and Douglas McIlroy.

It was a descendant of, and inspired by, the Berkeley Time-Sharing System (on which Thompson worked), and CTSS and Multics (on which all of them had worked, before Bell Labs withdrew from the Multics project).

Today's Unix systems are split into various branches, developed over time by AT&T as well as various commercial vendors and non-profit organizations. A number of clones of Unix, which share the interfaces, and 'look and feel', but no code, have also been produced; most notably, Linux.

Notable Bell versions

Versions of relevance for hobbyists include the initial versions from inside Bell Labs; it later spread more widely inside the Bell system, at the same time that it was starting to appear outside.

'Research' versions

Note that 'Version' in early UNIXes refers to the revision of the 'UNIX Programmer's Manual'; UNIX didn't really have coordinated distros before about V6:

Other AT&T versions

The rest of the Bell system, outside Bell Labs, soon found it useful, too, and a number of disparate versions, intended for different environments, appeared:

  • CB-UNIX - for use in control applications, including real-time systems
  • PWB/UNIX - used for production of other systems, in for computer center type usage
  • USG UNIX - a version for general use inside the Bell system
Unix ad

These were later unified, and Unix then went commercial and was sold outside AT&T, in a number of releases. (To the side is an early ad for AT&T UNIX.)

Bell also moved UNIX to the IBM System/370, as a 'supervisor' to user processes, under the TSS/370 Resident Supervisor; the result, UNIX/370, ran on a number of large System/370 machines at Bell.

Portable versions

Fairly early on, it became obvious that UNIX, and most of its commands and subsystems, being written in C, would be portable, relatively easily.

Portability was a little-recognized idea at the time; with a few exceptions (such as Multics), most operating systems were written in assembly language, which tied them irretrievably to a particular ISA. Indeed, portability was not a stated goal of the UNIX project at any point; it likely became one of strengths of UNIX purely by accident.

The first two projects to move UNIX to another machine started almost simultaneously, and in ignorance of each other: one was at Bell, to move UNIX to the Interdata 8/32; the other was at the University of Wollongong, to the similar Interdata 7/32. Issues with the Interdata 8/32 prevented that project from being a success, but it produced Unix Seventh Edition, the first portable version; that in turn was used for Unix/32V and UNIX/370.

CSRG releases

Meanwhile the Computer Systems Research Group‎ kept on releasing newer BSD UNIX's, mostly for the VAX, derived from 32V. These had wide distribution, and tremendous impact; they were a major step in UNIX's road to its current ubiquity.

Descended from there are several popular versions:

  • FreeBSD focuses on providing a system geared towards a single user.
  • NetBSD will run on a variety of 32-bit older systems from the VAX to the Amiga.
  • OpenBSD derived from the NetBSD project will run on all kinds of systems.

Further reading

See also

External links

Fun links