Difference between revisions of "UNIX"

From Computer History Wiki
Jump to: navigation, search
(Add roots)
 
(41 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Infobox OS
 
{{Infobox OS
| name = Unix
+
| name = UNIX
 
| creator = Ken Thompson, Dennis Ritchie and Douglas McIlroy at Bell Labs
 
| creator = Ken Thompson, Dennis Ritchie and Douglas McIlroy at Bell Labs
 
| year introduced = 1969
 
| year introduced = 1969
| architecture = Originally [[PDP-7]], then [[PDP-11]] now cross-platform.
+
| architecture = Originally [[PDP-7]], then [[PDP-11 architecture|PDP-11]]; now cross-platform.
| type = Time-sharing
+
| type = [[Time-sharing]]
| multitasking = Multitasking with paging/swap
+
| multitasking = [[Multi-tasking]] with [[swapping]]/[[virtual memory|paging]] (latter added in a later version)
 
}}
 
}}
  
Unix (officially trademarked as UNIX®) is a computer [[operating system]] originally developed in the 1960s and 1970s by a group of AT&T employees at Bell Labs including Ken Thompson, Dennis Ritchie and Douglas McIlroy. 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.
+
'''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]].
  
Versions of relevance for hobbyists include:
+
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).
* [[Unix System 1]] - The first version of UNIX that has been recently made to run on the [[PDP-11]]
+
 
* [[Unix System 5]] - One of first version with known source and binaries available.
+
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]].
* [[Unix System 6]]
+
 
* [[Unix System 7]] - One of the most complete and the last generally available and [[PDP-11]] version of Research UNIX
+
==Notable Bell versions==
* [[32v|Unix/32V]] - A 32bit port of System 7 to the VAX 11/780.
+
 
 +
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 [[distro]]s before about V6:
 +
 
 +
* [[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 Second Edition|UNIX V2]] - Unclear changes
 +
* [[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 Fifth Edition|UNIX V5]] - The first version with complete source and binaries available
 +
* [[UNIX Sixth Edition|UNIX V6]] - The first widely distributed version; the last before branches started to appear
 +
* [[Unix Seventh Edition|Unix V7]] - One of the most complete, and the last generally available and [[PDP-11]] version of Research UNIX
 +
* [[Unix/32V]] - A [[software port|port]] of Seventh Edition to the [[VAX-11/780]]
 +
* [[Unix Eighth Edition]] - this, and later versions, never contemporaneously escaped from Bell Labs
 +
* [[Unix Ninth Edition]]
 +
* [[Unix Tenth Edition]]
 +
 
 +
===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 then went commercial and was sold.  Below is an early ad for AT&T UNIX.
 
 
[[Image:Att842unixcomp.jpg|150px|thumb|right|Unix ad]]
 
[[Image:Att842unixcomp.jpg|150px|thumb|right|Unix ad]]
* [[Unix SYSIII]]
+
 
* [[Unix SYSV]]
+
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 V]]
 
* [[Unix SYSVr2]]
 
* [[Unix SYSVr2]]
 
* [[Unix SYSVr3]]
 
* [[Unix SYSVr3]]
 
* [[Unix SYSVr4]]
 
* [[Unix SYSVr4]]
  
Meanwhile the [[CSRG]] kept on releasing newer [[BSD]] UNIX's derived from 32v.
+
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.
* [[2.11 BSD]] - A still-maintained version for PDP-11s
+
 
* [[3.0 BSD]] - Derived from 32v, includign a real virtual memory system
+
==Portable versions==
* [[4.0 BSD]] - A vastly improved 3.0
+
 
* [[4.1 BSD]] - These were mostly betas testing new filesystems & the TCP/IP protocol.
+
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.
* [[4.2 BSD]] - The first shipping version of BSD with TCP/IP, FFS & termcap for the [[VAX]].
+
 
* [[4.3 BSD]] - A version of pre-POSIX BSD, for the [[VAX]].
+
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.
* [[4.4 BSD]] - Did this version ever ship?
+
 
* [[Net/1]] - The TCP/IP source, and other programs free of the AT&T copyrite
+
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.
* [[Net/2]] - Almost an entire release of all the sourceThis was the contention in the AT&T vs CSRG lawsuit.
+
 
* [[4.4 BSD Lite]] - This was the result of the aformentioned lawsuit.  This was 'lite' in that it removed the offending 6 files.
+
==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:
 +
 
 +
* [http://www.freebsd.org FreeBSD] focuses on providing a system geared towards a single user.
 +
* [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.
 +
 
 +
==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==
  
[[386 BSD]] This is the first Net/2 derived OS that then spawned the Net/FreeBSD os's.
+
* [[:Category:Unix OS's|Unix OS's]]
 +
* [[:Category:Unix-based OS's|Unix-based OS's]]
 +
* [[UNIX file system]]
 +
* [[Repairing early UNIX file systems]]
 +
* [[BSD Fast File System]]
 +
* [[Unix dump/restore tape format]]
  
[http://www.freebsd.org FreeBSD] focuses on providing a system geared towards a single user.
+
==External links==
  
[http://www.netbsd.org NetBSD] will run on a variety of 32-bit older systems from the [[VAX]] to the [[Amiga]].
+
* [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://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://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/cacm.html The UNIX Time-Sharing System] - the slightly later [[Bell System Technical Journal|BSTJ]] version
 +
*** [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]
  
[http://www.openbsd.org OpenBSD] derived from the NetBSD project will run on all kinds of systems.
+
===Fun links===
 +
 
 +
* [http://vrici.lojban.org/~cowan/upc/ The Unix Power Classic: A book about the Unix Way and its power] - Hacker-oriented version of the Dao De Jing
 +
* [http://www.catb.org/~esr/writings/unix-koans/ Rootless Root: The Unix Koans of Master Foo]
  
 
{{Nav Unix}}
 
{{Nav Unix}}
 +
 +
[[Category: Operating Systems]]
 +
[[Category: UNIX]]

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