CS 557 / Fall 98
NMHU
 
Jessie Xie

 
 

 
 
 
 
 
 
 

Introduction to UNIX:

 UNIX is one of the most popular operating systems in the world.  Originally developed by AT&T, it is now a trademark of The Open Group.

UNIX is a real operating system, which means it is a multiuser, multitasking system.  In a multiuser, multitasking system  more than one person can access the computer at the same time and each person can run multiple applications.  UNIX was originally designed in the 1970s to run on mainframes and minicomputers and to be such a multitasking system.

With UNIX, each user logs in using a login name and a recommended password. The password ensures that the person logging on is really who they claim to be.  Also, each computer has a hostname, and, if the computer is attached to a network, a domain name and IP address and possibly several other identifying items.

UNIX will run on almost all the platforms available. Many computer manufactories purchased the source code and developed their own versions.  UNIX uses IEEE POSIX. 1 standard.

Because UNIX was originally developed for mini and mainframe computers,  it is big. It is also expensive, especially for a PC version. On the contrary, Linux is small, fast, and inexpensive.
 

Introduction to Linux

Development of Linux

Linus Torvalds, a student at the University of Helsinki in Finland, originally created Linux at the end of 1991.  It was based on  minix, a small PC implementation of UNIX.  The source code was made freely available and others were encouraged  to develop it further.  Linux continues to be developed today over the Internet.

The current version of Linux is 2.0.  Linux has not taken any code from AT&T or any other copyrighted source. Much of Linux's software was developed by the Free Software Foundation's GNU project. Linux, therefore, is free.
 

Why choose Linux

Linux is free and, like UNIX, it is very powerful and is a real operating system. Also, compared to other UNIX operating systems, it is fairly small. UNIX operating systems may require in excess of 500 MB, but Linux only requires 150 MB of space and 2 MB of RAM. Practically, of course, Linux will take up to 12 MB RAM and more hard drive space because of its development tools and data.

Reasons for adopting Linux include:

    1.  Compatibility between personal machines at home and machines at work.
    2.  The ability to perform traditional UNIX operations, such as running a web server.
    3.  It requires little memory.

Linux is a portable operating system and, as such, can run on many different machines.  Linux is a portable OS because it is predominantly written in the C programming language.
 


Features of Linux

Multiuser
Linux systems can support from 1 to 1000 users, with each user each multitasking.

Full multitasking
Unlike Windows 95, Linux is a full multitasking system, and each user can run a different set of programs and use all of the system resources simultaneously.

Virtual memory
Linux can use a portion of the hard drive as virtual memory, which increases the efficiency of the system by keeping active processes in RAM and placing less frequently used or inactive portions on disk. Virtual memory doesn't allow memory segmentation to occur by utilizing all the system's memory.

The X Window System
The X Window System is a GUI (graphical user interface) system for UNIX machines. This powerful interface is much easier to use than command line interfaces, supports many applications, and is the standard interface for the industry.

Built-in networking support
Linux uses standard TCP/IP protocols. Network File System (NFS) and Network Information Service (NIS) are two of these.  Use of an Ethernet card or modem can access the Internet.

Shared libraries
Each application, instead of keeping its own copy of software, shares a common library of subroutines that it can call at runtime. This saves a lot of hard drive space on the system.

Compatibility with the IEEE POSIX. I standard
Linux supports UNIX standards because it is IEEE POSIX. I compatible.

Nonproprietary source code
The Linux kernel has not taken code from any copyrighted source. Many individuals, organizations and the Free Software Foundation GNU project have developed software for Linux.

Lower cost than most other UNIX systems and UNIX clones
Linux can be freely downloaded from the Internet!

GNU software support
Software available free through the Free Software Foundation GNU project can run on Linux, from application development (GNU C++) to system administration, to games.

          Kernel Programming Interface
          The kernel is responsible for controlling the computer's resources and scheduling user jobs.
          Programs interact with the kernel through system calls.

          Hierarchical File System with Built-in Security
          Like Windows, the Linux file system provides a structure where files are arranged under
          directories which can hold other files and directories.

          Shell
          The shell acts as an interface, or channel,  between users and the operating system. The shell
          interprets the command from the user and calls the program. There are many popular shells
          available, such as the Korn Shell, the Bourne Again Shell, the TC Shell, and Z Shell.
          Multiuser systems  may have a number of different shells in use at any given time.
          The shell can be used as a high-level programming language.

          A Large Collection of Useful Utilities
          Utility programs  which perform functions such as sort, search, and display are included in Linux.
System Administration
The responsibilities of the system administrator include system set up, installing software, backing up, restoring files, and managing system facilities.
 

Installation of Linux

The essential for a successful installation of Red Hat Linux is to understand the hardware and be familiar to the parameters as following:

    1.  Number of hard drives, and determine the primary hard drive

    2.  Size of each hard drive

    3.  RAM memory

    4.  Interface type, make and model of the CD-ROM

    5.  The make and model of the SCSI adapter

    6.  The type of mouse, its button numbers.  If it's a serial mouse, the COM port connected to

    7.  The make and model of the video card and its RAM

    8.  The make and model of the monitor, and its allowable range of horizontal and vertical refresh rate

    9.  If the computer is connecting to a network

    10.  Specify if another other operating system is running on the same machine


Conclusion

UNIX is a satisfactory solution for many businesses.  It is a real, multiuser, multitasking operating system.  But, Linux may be running half of the Internet web servers because it is cheap, reliable, has good support and is multiplatform compatible.  System administrators are apparently impressed with Linux and its advantages over UNIX.
 

Reference Links

 
A Practical Guide to Linux

Basic Linux

GNU Project

Linux Documentation Project

Linux Gazette

Linux Information From The United Kingdom

Linux International

Linux Kernel Archives

Linux Library

Linux Online

Linux V.2.0 Information Headquarters

Red Hat Linux

Where To Get Linux