UNIX (/ˈjuː.nɪks/ ; trademarked as UNIX) is a family of multitasking , multiuser computer operating systems that derive from the original AT&T Unix, developed starting in the 1970s at the Bell Labs research center by Ken Thompson , Dennis Ritchie , and others.
Initially intended for use inside the Bell System , AT&T licensed Unix to outside parties from the late 1970s, leading to a variety of both academic and commercial variants of Unix from vendors such as the University of California, Berkeley ( BSD ), Microsoft ( Xenix ), IBM ( AIX ) and Sun Microsystems (Solaris ). AT"> Version 7 Unix , the Research Unix ancestor of all modern Unix systems
Unix was originally meant to be a convenient platform for programmers developing software to be run on it and on other systems, rather than for non-programmer users. The system grew larger as the operating system started spreading in academic circles, as users added their own tools to the system and shared them with colleagues.
Unix was designed to be portable , multi-tasking and multi-user in a time-sharing configuration. Unix systems are characterized by various concepts: the use of plain text for storing data; a hierarchical file system ; treating devices and certain types of inter-process communication (IPC) as files; and the use of a large number of software tools , small programs that can be strung together through a command-line interpreter using pipes , as opposed to using a single monolithic program that includes all of the same functionality. These concepts are collectively known as the " Unix philosophy ". Brian Kernighan and Rob Pike summarize this in _The Unix Programming Environment _ as "the idea that the power of a system comes more from the relationships among programs than from the programs themselves".
By the early 1980s users began seeing Unix as a potential universal operating system, suitable for computers of all sizes. The Unix environment and the client–server program model were essential elements in the development of the Internet and the reshaping of computing as centered in networks rather than in individual computers.
The pre-history of Unix dates back to the mid-1960s when the Massachusetts Institute of Technology , Bell Labs , and General Electric were developing an innovative time-sharing operating system called Multics for the GE-645 mainframe. Multics introduced many innovations , but had many problems. Frustrated by the size and complexity of Multics but not by the aims, Bell Labs slowly pulled out of the project. Their last researchers to leave Multics, Ken Thompson , Dennis Ritchie , M. D. McIlroy , and J. F. Ossanna , decided to redo the work on a much smaller scale.
The name _Unics_ (Uniplexed Information and Computing Service, pronounced as "eunuchs "), a pun on _ Multics _ (Multiplexed Information and Computer Services), was initially suggested for the project in 1970: the new operating system was an emasculated Multics. Peter H. Salus credits Peter Neumann with the pun, while Brian Kernighan claims the coining for himself, and adds that "no one can remember" who came up with the final spelling Unix. Dennis Ritchie also credits Kernighan.
In 1972, Unix was rewritten in the C programming language . The migration from assembly to the higher-level language C resulted in much more portable software, requiring only a relatively small amount of machine-dependent code to be replaced when porting Unix to other computing platforms . Bell Labs produced several versions of Unix that are collectively referred to as Research Unix . In 1975, the first source license for UNIX was sold to Donald B. Gillies at the University of Illinois Department of Computer Science. UIUC graduate student Greg Chesson (who had worked on the UNIX kernel at Bell Labs) was instrumental in negotiating the terms of this license.
During the late 1970s and early 1980s, the influence of Unix in academic circles led to large-scale adoption of Unix ( BSD and System V ) by commercial startups, including Sequent , HP-UX , Solaris , AIX , and Xenix . In the late 1980s, AT"> The Common Desktop Environment (CDE), part of the COSE initiative
Beginning in the late 1980s, an open operating system standardization effort now known as POSIX provided a common baseline for all operating systems; IEEE based POSIX around the common structure of the major competing variants of the Unix system, publishing the first POSIX standard in 1988. In the early 1990s, a separate but very similar effort was started by an industry consortium, the Common Open Software Environment (COSE) initiative, which eventually became the Single UNIX Specification (SUS) administered by The Open Group . Starting in 1998, the Open Group and IEEE started the Austin Group , to provide a common definition of POSIX and the Single UNIX Specification, which, by 2008, had become the Open Group Base Specification.
In 1999, in an effort towards compatibility, several Unix system vendors agreed on SVR4's Executable and Linkable Format (ELF) as the standard for binary and object code files. The common format allows substantial binary compatibility among Unix systems operating on the same CPU architecture.
See also: List of Unix commands
_ This section DOES NOT CITE ANY SOURCES . Please help improve this section by adding citations to reliable sources . Unsourced material may be challenged and removed . (January 2017)_ _(Learn how and when to remove this template message )_
The Unix system is composed of several components that were originally packaged together. By including the development environment, libraries, documents and the portable, modifiable source code for all of these components, in addition to the kernel of an operating system, Unix was a self-contained software system. This was one of the key reasons it emerged as an important teaching and learning tool and has had such a broad influence.
The inclusion of these components did not make the system large – the original V7 UNIX distribution, consisting of copies of all of the compiled binaries plus all of the source code and documentation occupied less than 10 MB and arrived on a single nine-track magnetic tape . The printed documentation, typeset from the on-line sources, was contained in two volumes.
The names and filesystem locations of the Unix components have changed substantially across the history of the system. Nonetheless, the V7 implementation is considered by many to have the canonical early structure:
* _Kernel_ – source code in /usr/sys, composed of several sub-components:
* _conf_ – configuration and machine-dependent parts, including boot code * _dev_ – device drivers for control of hardware (and some pseudo-hardware) * _sys_ – operating system "kernel", handling memory management, process scheduling, system calls, etc. * _h_ – header files, defining key structures within the system and important system-specific invariables
* _Development environment_ – early versions of Unix contained a development environment sufficient to recreate the entire system from source code:
* _cc_ – C language compiler (first appeared in V3 Unix) * _as_ – machine-language assembler for the machine * _ld_ – linker, for combining object files * _lib_ – object-code libraries (installed in /lib or /usr/lib). _libc _, the system library with C run-time support, was the primary library, but there have always been additional libraries for such things as mathematical functions (_libm _) or database access. V7 Unix introduced the first version of the modern "Standard I/O" library _stdio_ as part of the system library. Later implementations increased the number of libraries significantly. * _make _ – build manager (introduced in PWB/UNIX ), for effectively automating the build process * _include_ – header files for software development, defining standard interfaces and system invariants * _Other languages_ – V7 Unix contained a Fortran-77 compiler, a programmable arbitrary-precision calculator (_bc_, _dc_), and the awk scripting language; later versions and implementations contain many other language compilers and toolsets. Early BSD releases included Pascal tools, and many modern Unix systems also include the GNU Compiler Collection as well as or instead of a proprietary compiler system. * _Other tools_ – including an object-code archive manager (_ar_), symbol-table lister (_nm_), compiler-development tools (e.g. _lex _ "> operating system to include all of its documentation online in machine-readable form. The documentation included:
* _man _ – manual pages for each command, library component, system call , header file, etc. * _doc_ – longer documents detailing major subsystems, such as the C language and troff
See also: Unix-like
_ This section NEEDS ADDITIONAL CITATIONS FOR VERIFICATION . Please help improve this article by adding citations to reliable sources . Unsourced material may be challenged and removed. (January 2017)_ _(Learn how and when to remove this template message )_
Ken Thompson and Dennis Ritchie , principal developers of Research Unix Photo from USENIX 1984, including Dennis Ritchie (center) Plan 9 from Bell Labs extends Unix design principles, and was developed as a successor to Unix
The Unix system had significant impact on other operating systems. It achieved its reputation by its interactivity, by providing the software at a nominal fee for educational use, by running on inexpensive hardware, and by being easy to adapt and move to different machines. Unix was originally written in assembly language (which had been thought necessary for system implementations on early computers), but was soon rewritten in C , a high-level programming language . Although this followed the lead of Multics and Burroughs , it was Unix that popularized the idea.
Unix had a drastically simplified file model compared to many contemporary operating systems: treating all kinds of files as simple byte arrays. The file system hierarchy contained machine services and devices (such as printers , terminals , or disk drives ), providing a uniform interface, but at the expense of occasionally requiring additional mechanisms such as ioctl and mode flags to access features of the hardware that did not fit the simple "stream of bytes" model. The Plan 9 operating system pushed this model even further and eliminated the need for additional mechanisms.
Unix also popularized the hierarchical file system with arbitrarily nested subdirectories, originally introduced by Multics. Other common operating systems of the era had ways to divide a storage device into multiple directories or sections, but they had a fixed number of levels, often only one level. Several major proprietary operating systems eventually added recursive subdirectory capabilities also patterned after Multics. DEC's RSX-11 M's "group, user" hierarchy evolved into VMS directories, CP/M 's volumes evolved into MS-DOS 2.0+ subdirectories, and HP's MPE group.account hierarchy and IBM's SSP and OS/400 library systems were folded into broader POSIX file systems.
Making the command interpreter an ordinary user-level program, with additional commands provided as separate programs, was another Multics innovation popularized by Unix. The Unix shell used the same language for interactive commands as for scripting (shell scripts – there was no separate job control language like IBM's JCL ). Since the shell and OS commands were "just another program", the user could choose (or even write) his own shell. New commands could be added without changing the shell itself. Unix's innovative command-line syntax for creating modular chains of producer-consumer processes (pipelines ) made a powerful programming paradigm (coroutines ) widely available. Many later command-line interpreters have been inspired by the Unix shell.
A fundamental simplifying assumption of Unix was its focus on newline -delimited text for nearly all file formats. There were no "binary" editors in the original version of Unix – the entire system was configured using textual shell command scripts. The common denominator in the I/O system was the byte – unlike "record-based" file systems . The focus on text for representing nearly everything made Unix pipes especially useful, and encouraged the development of simple, general tools that could be easily combined to perform more complicated _ad hoc_ tasks. The focus on text and bytes made the system far more scalable and portable than other systems. Over time, text-based applications have also proven popular in application areas, such as printing languages ( PostScript , ODF ), and at the application layer of the Internet protocols , e.g., FTP , SMTP , HTTP , SOAP , and SIP .
Unix popularized a syntax for regular expressions that found widespread use. The Unix programming interface became the basis for a widely implemented operating system interface standard (POSIX, see above). The C programming language soon spread beyond Unix, and is now ubiquitous in systems and applications programming.
Early Unix developers were important in bringing the concepts of modularity and reusability into software engineering practice, spawning a "software tools" movement. Over time, the leading developers of Unix (and programs that ran on it) established a set of cultural norms for developing software, norms which became as important and influential as the technology of Unix itself; this has been termed the Unix philosophy .
The TCP/IP networking protocols were quickly implemented on the Unix versions widely used on relatively inexpensive computers, which contributed to the Internet explosion of worldwide real-time connectivity, and which formed the basis for implementations on many other platforms.
The Unix policy of extensive on-line documentation and (for many years) ready access to all system source code raised programmer expectations, and contributed to the 1983 launch of the free software movement .
FREE UNIX AND UNIX-LIKE VARIANTS
In 1983, Richard Stallman announced the GNU (short for "GNU's Not Unix") project, an ambitious effort to create a free software Unix-like system; "free" in the sense that everyone who received a copy would be free to use, study, modify, and redistribute it. The GNU project's own kernel development project, GNU Hurd , had not produced a working kernel, but in 1991 Linus Torvalds released the Linux kernel as free software under the GNU General Public License . In addition to their use in the Linux operating system, many GNU packages – such as the GNU Compiler Collection (and the rest of the GNU toolchain ), the GNU C library and the GNU core utilities – have gone on to play central roles in other free Unix systems as well.
Linux distributions , consisting of the Linux kernel and large collections of compatible software have become popular both with individual users and in business. Popular distributions include Red Hat Enterprise Linux , Fedora , SUSE Linux Enterprise , openSUSE , Debian GNU/ Linux , Ubuntu , Linux Mint , Mandriva Linux , Slackware Linux , and Gentoo .
A free derivative of BSD Unix, 386 BSD , was released in 1992 and led to the Net BSD and Free BSD projects. With the 1994 settlement of a lawsuit brought against the University of California and Berkeley Software Design Inc. ( USL v. BSDi ) by UNIX Systems Laboratories , it was clarified that Berkeley had the right to distribute BSD Unix for free, if it so desired. Since then, BSD Unix has been developed in several different product branches, including Open BSD and DragonFly BSD .
Linux and BSD are increasingly filling the market needs traditionally served by proprietary Unix operating systems, as well as expanding into new markets such as the consumer desktop and mobile and embedded devices. Because of the modular design of the Unix model, sharing components is relatively common; consequently, most or all Unix and Unix-like systems include at least some BSD code, and some systems also include GNU utilities in their distributions.
I think the Linux phenomenon is quite delightful, because it draws so strongly on the basis that Unix provided. Linux seems to be the among the healthiest of the direct Unix derivatives, though there are also the various BSD systems as well as the more official offerings from the workstation and mainframe manufacturers.
OpenSolaris was the open-source counterpart to Solaris developed by Sun Microsystems , which included a CDDL -licensed kernel and a primarily GNU userland. However, Oracle discontinued the project upon their acquisition of Sun, which prompted a group of former Sun employees and members of the OpenSolaris community to fork OpenSolaris into the illumos kernel. As of 2014, illumos remains the only active open-source System V derivative.
In May 1975, RFC 681 described the development of _Network Unix_ by the Center for Advanced Computation at the University of Illinois . The system was said to "present several interesting capabilities as an ARPANET mini-host". At the time Unix required a license from Bell Laboratories that at $20,000(US) was very expensive for non-university users, while an educational license cost just $150. It was noted that Bell was "open to suggestions" for an ARPANET-wide license.
Specific features found beneficial were the local processing facilities, compilers , editors , a document preparation system , efficient file system and access control, mountable and unmountable volumes, unified treatment of peripherals as special files , integration of the network control program (NCP) within the Unix file system, treatment of network connections as special files that can be accessed through standard Unix I/O calls , closing of all files on program exit, and the decision to be "desirable to minimize the amount of code added to the basic Unix kernel".
In October 1993, Novell , the company that owned the rights to the Unix System V source at the time, transferred the trademarks of Unix to the X/Open Company (now The Open Group ), and in 1995 sold the related business operations to Santa Cruz Operation (SCO). Whether Novell also sold the copyrights to the actual software was the subject of a 2006 federal lawsuit, SCO v. Novell , which Novell won. The case was appealed, but on August 30, 2011, the United States Court of Appeals for the Tenth Circuit affirmed the trial decisions, closing the case. Unix vendor SCO Group Inc. accused Novell of slander of title .
The present owner of the trademark _UNIX_ is The Open Group, an industry standards consortium. Only systems fully compliant with and certified to the Single UNIX Specification qualify as "UNIX" (others are called " Unix system-like" or " Unix-like ").
By decree of The Open Group, the term "UNIX" refers more to a class of operating systems than to a specific implementation of an operating system; those operating systems which meet The Open Group's Single UNIX Specification should be able to bear the UNIX 98 or UNIX 03 trademarks today, after the operating system's vendor pays a substantial certification fee and annual trademark royalties to The Open Group. Systems licensed to use the UNIX trademark include AIX , HP-UX , Inspur K-UX , IRIX , Solaris , Tru64 UNIX (formerly "Digital UNIX", or OSF/1 ), macOS , and a part of z/OS . Notably, Inspur K-UX is a Linux distribution certified as UNIX 03 compliant.
Sometimes a representation like _Un*x_, _*NIX_, or _*N?X_ is used to indicate all operating systems similar to Unix. This comes from the use of the asterisk (_*_) and the question mark characters as wildcard indicators in many utilities. This notation is also used to describe other Unix-like systems that have not met the requirements for UNIX branding from the Open Group.
The Open Group requests that _UNIX_ is always used as an adjective followed by a generic term such as _system_ to help avoid the creation of a genericized trademark .
_Unix_ was the original formatting, but the usage of _UNIX_ remains widespread because it was once typeset in small caps (_Unix_). according to Dennis Ritchie , when presenting the original Unix paper to the third Operating Systems Symposium of the American Association for Computing Machinery (ACM), "we had a new typesetter and _troff _ had just been invented and we were intoxicated by being able to produce small caps." Many of the operating system's predecessors and contemporaries used all-uppercase lettering, so many people wrote the name in upper case due to force of habit. It is not an acronym.
Trademark names can be registered by different entities in different countries and trademark laws in some countries allow the same trademark name to be controlled by two different entities if each entity uses the trademark in easily distinguishable categories. The result is that Unix has been used as a brand name for various products including book shelves, ink pens, bottled glue, diapers, hair driers and food containers.
Several plural forms of Unix are used casually to refer to multiple brands of Unix and Unix-like systems. Most common is the conventional _Unixes_, but _Unices_, treating Unix as a Latin noun of the third declension , is also popular. The pseudo-Anglo-Saxon plural form _Unixen_ is not common, although occasionally seen. Sun Microsystems , developer of the Solaris variant, has asserted that the term _Unix_ is itself plural, referencing its many implementations.
* Book: Unix
* Comparison of operating systems and open-source and closed-source software * List of operating systems , Unix systems , and Unix utilities * Market share of operating systems * Operating systems timeline * Plan 9 from Bell Labs * Unix time * Year 2038 problem
* ^ McIlroy, M. D. (1987). _A Research Unix reader: annotated excerpts from the Programmer\'s Manual, 1971–1986_ (PDF) (Technical report). CSTR. Bell Labs. 139. * ^ Ritchie, D. M.; Thompson, K. (1974). "The UNIX Time-Sharing System" (PDF). _CACM_. 17 (7): 365–375. * ^ _A_ _B_ Ritchie, D.M.; Thompson, K. (July 1978). "The UNIX Time-Sharing System". _ Bell System Tech. J_. USA: American Tel. & Tel. 57 (6): 1905–1929. doi :10.1002/j.1538-7305.1978.tb02136.x . Retrieved December 9, 2012. * ^ " Novell Completes Sale of UnixWare Business to The Santa Cruz Operation Micro Focus". _www.novell.com_. Retrieved 2015-12-20. * ^ Apple Inc. - UNIX 03 Register of Certified Products, The Open Group * ^ Raymond, Eric (2003-09-19). _The Art of Unix Programming_. Addison-Wesley. ISBN 0-13-142901-9 . Retrieved 2009-02-09. * ^ Ritchie, Dennis M. (January 1993). "The Development of the C Language" (PDF). Retrieved 20 December 2015. * ^ "The Elements of Operating-System Style". * ^ "Tandy/Radio Shack Book: Whole Earth Software Catalog". 1984. UNIX was created by software developers for software developers, to give themselves an environment they could completely manipulate. * ^ Powers, Shelley; Peek, Jerry; O'Reilly, Tim; Loukides, Mike (2002). _ Unix Power Tools_. ISBN 0-596-00330-7 . * ^ Kernighan, Brian W. Pike, Rob. _The UNIX Programming Environment._ 1984. viii * ^ Fiedler, Ryan (October 1983). "The Unix Tutorial / Part 3: Unix in the Microcomputer Marketplace". _BYTE_. p. 132. Retrieved 30 January 2015. * ^ "Tandy/Radio Shack Book: Whole Earth Software Catalog". 1984. The best thing about UNIX is its portability. UNIX ports across a full range of hardware—from the single-user $5000 IBM PC to the $5 million Cray. For the first time, the point of stability becomes the software environment, not the hardware architecture; UNIX transcends changes in hardware technology, so programs written for the UNIX environment can move into the next generation of hardware. * ^ Stuart, Brian L. (2009). _Principles of operating systems: design & applications_. Boston, Massachusetts: Thompson Learning. p. 23. ISBN 1-4188-3769-5 . * ^ _A_ _B_ Ritchie, Dennis M. "The Evolution of the Unix Time-sharing System" (PDF). Retrieved 2017-01-09. * ^ Salus, Peter H. (1994). _A Quarter Century of UNIX_. Addison Wesley. p. 9. ISBN 0-201-54777-5 . * ^ Dolya, Aleksey (29 July 2003). "Interview with Brian Kernighan". _ Linux Journal _. * ^ Stallings, William. "Operating Systems: Internals and Design Principles" 5th ed, page 91. Pearson Education, Inc. 2005. * ^ "The History of Unix". _BYTE_. August 1983. p. 188. Retrieved 31 January 2015. * ^ Thompson, Ken (16 Sep 2014). "personal communication, Ken Thompson to Donald W. Gillies". _UBC ECE Website_. * ^ Chesson, Greg (12 Nov 2014). "Personal Communication, Greg Chesson to Donald W. Gillies". _UBC ECE Website_. * ^ "Loading". Developer.apple.com. Retrieved 2012-08-22. * ^ "Unix’s Revenge". asymco. 29 September 2010. Retrieved 2010-11-09. * ^ Ritchie, Dennis (1979). "The Evolution of the Unix Time-sharing System". Bell Labs. Retrieved 2016-04-30. Perhaps the most important watershed occurred during 1973, when the operating system kernel was rewritten in C. * ^ _A_ _B_ Benet, Manuel (1999). "Interview With Dennis M. Ritchie". LinuxFocus.org. * ^ Chuck Karish View profile More options. "The name UNIX is now the property of X/Open – comp.std.unix Google Groups". Groups.google.com. Retrieved 2010-11-09. CS1 maint: Multiple names: authors list (link ) * ^ "HP, Novell and SCO To Deliver High-Volume UNIX OS With Advanced Network And Enterprise Services". Novell.com. 20 September 1995. Retrieved 2010-11-09. * ^ Jones, Pamela. "SCO Files Docketing Statement and We Find Out What Its Appeal Will Be About". _Groklaw_. Groklaw.net. Retrieved 12 April 2011. * ^ The Open Group. "The Open Brand Fee Schedule". Retrieved 26 December 2011. The right to use the UNIX Trademark requires the Licensee to pay to The Open Group an additional annual fee, calculated in accordance with the fee table set out below. * ^ The Open Group. " AIX 6 Operating System V6.1.2 with SP1 or later certification". * ^ The Open Group. " HP-UX 11i V3 Release B.11.31 or later certification". * ^ The Open Group. " Inspur K-UX 2.0 certification". * ^ The Open Group. " IRIX 6.5.28 with patches (4605 and 7029) certification". * ^ The Open Group. "Oracle Solaris 11 FCS and later certification". * ^ Bonnie Talerico. "Hewlett-Packard Company Conformance Statement". The Open Group. Retrieved 2015-12-08. * ^ "macOS version 10.12 Sierra on Intel-based Mac computers". The Open Group. * ^ Vivian W. Morabito. " IBM Corporation Conformance Statement". The Open Group. Retrieved 2015-12-08. * ^ Xie Ruohong. "Inspur Conformance Statement". The Open Group. Retrieved 2015-12-08. * ^ Xie Ruohong. "Inspur Conformance Statement: Commands and Utilities V4". The Open Group. Retrieved 2015-12-08. * ^ "Unix". Catb.org. Retrieved 2010-11-09. * ^ Troy, Douglas (1990). _UNIX Systems_. Computing Fundamentals. Benjamin/Cumming Publishing Company. p. 4. ISBN 0-201-19827-4 . * ^ "Autres Unix, autres moeurs (OtherUnix)". Cm.bell-labs.com. 1 April 2000. Retrieved 2010-11-09. * ^ (PDF) of Solaris http://cse.unl.edu/~witty/class/csce351/howto/history_of_solaris.pdf}title=History of Solaris Check url= value (help ). UNIX is plural. It is not one operating system but, many implementations of an idea that originated in 1965. Missing or empty title= (help )
* Ritchie, D.M. ; Thompson, K. (July–August 1978). "The UNIX Time-Sharing System". _ Bell System Technical Journal _. 57 (6). Archived from the original on November 3, 2010. * "UNIX History". _www.levenez.com_. Retrieved 17 March 2005. * "AIX, FreeBSD, HP-UX, Linux, Solaris, Tru64". _UNIXguide.net_. Retrieved 17 March 2005. * " Linux Weekly News, February 21, 2002". _lwn.net_. Retrieved 7 April 2006. * Lions, John : _Lions' "Commentary on the Sixth Edition UNIX Operating System". with Source Code_, Peer-to-Peer Communications, 1996; ISBN 1-57398-013-7
* Salus, Peter H. : _A Quarter Century of UNIX_, Addison Wesley, 1 June 1994; ISBN 0-201-54777-5
_ Look up UNIX _ in Wiktionary, the free