Unix Linux Architecture Questions
Unix Linux Architecture Questions
Unix Linux Architecture Questions
Files are stored on disk in a hierarchical file system, with a single top
location throughout the system (root, or "/"), with both files and directories,
subdirectories, sub-subdirectories, and so on below it.
The UNIX operating system supports the following features and capabilities:
Programming interface
As an illustration of the way that the shell and the kernel work together, suppose a
user types rm myfile (which has the effect of removing the file myfile). The shell
searches the filestore for the file containing the program rm, and then requests the
kernel, through system calls, to execute the program rm on myfile. When the
process rm myfile has finished running, the shell then returns the UNIX prompt %
to the user, indicating that it is waiting for further commands.
Amongst the functions performed by the kernel are:
managing the machine's memory and allocating it to each process.
scheduling the work done by the CPU so that the work of each user is carried out
as efficiently as is possible.
organising the transfer of data from one part of the machine to another.
accepting instructions from the shell and carrying them out.
Enforcing the access permissions that are in force on the file system
The shell:
The user can customise his/her own shell, and users can use different shells on the
same machine.
History The shell keeps a list of the commands you have typed in. If you need to
repeat a command, use the cursor keys to scroll up and down the list or type history
for a list of previous commands.
You can use any one of these shells if they are available on your system. And you
can switch between the different shells once you have found out if they are
available.
Bourne shell (sh)
C shell (csh)
TC shell (tcsh)
Korn shell (ksh)
Bourne Again SHell (bash)
Features OF LINUX:
Following are some of the important features of Linux Operating System.
Portable Portability means software can works on different types of
hardware in same way. Linux kernel and application programs supports their
installation on any kind of hardware platform.
LINUX Architecture
The following illustration shows the architecture of a Linux system
HISTORY OF UNIX:
The history of Unix dates back to the mid-1960s when the Massachusetts Institute
of Technology, AT&T Bell Labs, and General Electric were jointly developing an
experimental time sharing operating system called Multics for the GE645 mainframe.[1] Multics introduced many innovations, but had many problems.
Bell Labs, frustrated by the size and complexity of Multics but not the aims, slowly
pulled out of the project. Their last researchers to leave Multics, Ken
Thompson, Dennis Ritchie, Doug McIlroy, and Joe Ossanna among others,
[2]
decided to redo the work on a much smaller scale.[3] In 1979, Dennis Ritchie
described their vision for Unix:[3]
What we wanted to preserve was not just a good environment in which to
do programming, but a system around which a fellowship could form. We knew
from experience that the essence of communal computing, as supplied by remoteaccess, time-shared machines, is not just to type programs into a terminal instead
of a keypunch, but to encourage close communication.
Since it began to escape from AT&T's Bell Laboratories in the early 1970's, the
success of the UNIX operating system has led to many different versions:
recipients of the (at that time free) UNIX system code all began developing their
own different versions in their own, different, ways for use and sale. Universities,
research institutes, government bodies and computer companies all began using the
powerful UNIX system to develop many of the technologies which today are part
of a UNIX system.
Computer aided design, manufacturing control systems, laboratory simulations,
even the Internet itself, all began life with and because of UNIX systems. Today,
without UNIX systems, the Internet would come to a screeching halt. Most
telephone calls could not be made, electronic commerce would grind to a halt and
there would have never been "Jurassic Park"!
By the late 1970's, a ripple effect had come into play. By now the under- and postgraduate students whose lab work had pioneered these new applications of
technology were attaining management and decision-making positions inside the
computer system suppliers and among its customers. And they wanted to continue
using UNIX systems.
Soon all the large vendors, and many smaller ones, were marketing their own,
diverging, versions of the UNIX system optimized for their own computer
architectures and boasting many different strengths and features. Customers found
that, although UNIX systems were available everywhere, they seldom were able to
interwork or co-exist without significant investment of time and effort to make
them work effectively. The trade mark UNIX was ubiquitous, but it was applied to
a multitude of different, incompatible products.
In the early 1980's, the market for UNIX systems had grown enough to be noticed
by industry analysts and researchers. Now the question was no longer "What is a
UNIX system?" but "Is a UNIX system suitable for business and commerce?"
Throughout the early and mid-1980's, the debate about the strengths and
weaknesses of UNIX systems raged, often fuelled by the utterances of the vendors
themselves who sought to protect their profitable proprietary system sales by
talking UNIX systems down. And, in an effort to further differentiate their
competing UNIX system products, they kept developing and adding features of
their own.
In 1984, another factor brought added attention to UNIX systems. A group of
vendors concerned about the continuing encroachment into their markets and
control of system interfaces by the larger companies, developed the concept of
"open systems."
Open systems were those that would meet agreed specifications or standards. This
resulted in the formation of X/Open Company Ltd whose remit was, and today in
the guise of The Open Group remains, to define a comprehensive open systems
environment. Open systems, they declared, would save on costs, attract a wider
portfolio of applications and competition on equal terms. X/Open chose the UNIX
system as the platform for the basis of open systems.
Although UNIX was still owned by AT&T, the company did little commercially
with it until the mid-1980's. Then the spotlight of X/Open showed clearly that a
single, standard version of the UNIX system would be in the wider interests of the
industry and its customers. The question now was, "which version?".
In a move intended to unify the market in 1987, AT&T announced a pact with Sun
Microsystems, the leading proponent of the Berkeley derived strain of UNIX.
However, the rest of the industry viewed the development with considerable
concern. Believing that their own markets were under threat they clubbed together
to develop their own "new" open systems operating system. Their new
organization was called the Open Software Foundation (OSF). In response to this,
the AT&T/Sun faction formed UNIX International.
The ensuing "UNIX wars" divided the system vendors between these two camps
clustered around the two dominant UNIX system technologies: AT&T's System V
and the OSF system called OSF/1. In the meantime, X/Open Company held the
center ground. It continued the process of standardizing the APIs necessary for an
open operating system specification.
In addition, it looked at areas of the system beyond the operating system level
where a standard approach would add value for supplier and customer alike,
developing or adopting specifications for languages, database connectivity,
networking and mainframe interworking. The results of this work were published
in successive X/Open Portability Guides.
XPG 4 was released in October 1992. During this time, X/Open had put in place a
brand program based on vendor guarantees and supported by testing. Since the
publication of XPG4, X/Open has continued to broaden the scope of open systems
specifications in line with market requirements. As the benefits of the X/Open
brand became known and understood, many large organizations began using
X/Open as the basis for system design and procurement. By 1993, over $7 billion
had been spent on X/Open branded systems. By the start of 1997 that figure has
risen to over $23 billion. To date, procurements referencing the Single UNIX
Specification amount to over $5.2 billion.
In early 1993, AT&T sold it UNIX System Laboratories to Novell which was
looking for a heavyweight operating system to link to its NetWare product range.
At the same time, the company recognized that vesting control of the definition
(specification) and trademark with a vendor-neutral organization would further
facilitate the value of UNIX as a foundation of open systems. So the constituent
parts of the UNIX System (source code/technology and specification/trademark),
previously owned by a single entity are now quite separate
In 1995 X/Open introduced the UNIX 95 brand for computer systems guaranteed
to meet the Single UNIX Specification. The Single UNIX Specification brand
program has now achieved critical mass: vendors whose products have met the
demanding criteria now account for the majority of UNIX systems by value.
For over twenty years, since the inception of X/Open, UNIX had been closely
linked with open systems. X/Open, now The Open Group, continues to develop
and evolve the Single UNIX Specification and associated brand program on behalf
of the IT community. The freeing of the specification of the interfaces from the
technology is allowing many systems to support the UNIX philosophy of small,
often simple tools , that can be combined in many ways to perform often complex
tasks. The stability of the core interfaces preserves existing investment, and is
allowing development of a rich set of software tools. The Open Source movement
is building on this stable foundation and is creating a resurgence of enthusiasm for
the UNIX philosophy. In many ways Open Source can be seen as the true delivery
of Open Systems that will ensure it continues to go from strength to strength.
1969 The Beginning
1987 SVR3
1988
1989
1989 SVR4
1990 XPG3
1991
1992 SVR4.2
1993 4.4BSD
Late SVR4.2MP
1993
1995 UNIX 95
1996
1997 Single UNIX
250,000.
System V Release 3 including STREAMS, TLI, RFS. At
this time there are 750,000 UNIX installations around
the world. IRIX introduced.
POSIX.1 published. Open Software Foundation (OSF)
and UNIX International (UI) formed. Ultrix 4.2 ships.
AT&T UNIX Software Operation formed in preparation
for spinoff of USL. Motif 1.0 ships.
UNIX System V Release 4 ships, unifying System V,
BSD and Xenix. Installed base 1.2 million.
X/Open launches XPG3 Brand. OSF/1 debuts. Plan 9
from Bell Labs ships.
UNIX System Laboratories (USL) becomes a company majority-owned by AT&T. Linus Torvalds commences
Linux development. Solaris 1.0 debuts.
USL releases UNIX System V Release 4.2 (Destiny).
October - XPG4 Brand launched by X/Open. December
22nd Novell announces intent to acquire USL. Solaris
2.0 ships.
4.4BSD the final release from Berkeley. June 16 Novell
acquires USL
Novell transfers rights to the "UNIX" trademark and the
Single UNIX Specification to X/Open. COSE initiative
delivers "Spec 1170" to X/Open for fasttrack. In
December Novell ships SVR4.2MP , the final USL OEM
release of System V
BSD 4.4-Lite eliminated all code claimed to infringe on
USL/Novell. As the new owner of the UNIX trademark,
X/Open introduces the Single UNIX Specification
(formerly Spec 1170), separating the UNIX trademark
from any actual code stream.
X/Open introduces the UNIX 95 branding programme
for implementations of the Single UNIX Specification.
Novell sells UnixWare business line to SCO. Digital
UNIX introduced. UnixWare 2.0 ships. OpenServer 5.0
debuts.
The Open Group forms as a merger of OSF and X/Open.
The Open Group introduces Version 2 of the Single
Specification,
Version 2
1998 UNIX 98
1999 UNIX at 30