An operating system (OS) is system software that manages computer hardware, software resources, and provides common services for computer programs.Time-sharing operating systems schedule tasks for efficient use of the system and may also include accounting software for cost allocation of processor time, mass storage, printing, and other resources.
Purpose of an Operating System
- System components and peripherals, by themselves, are nothing more than a collection of electronics and mechanical parts. To get these parts to work together to perform a specific task, a special type of computer program, known as an operating system (OS), is required.
- Suppose that a user wants to write a report and print it out on an attached printer. A word processing application is required to accomplish this task. Information is entered from the keyboard, displayed on the monitor, saved on the disk drive and then finally sent to the printer.
- In order for the word processing program to accomplish all of this, it must work with the OS, which controls input and output functions.
- In addition, the entered data is manipulated inside of the computer, stored in RAM and processed by the CPU.
- This internal manipulation and processing is also controlled by the OS. All computerized devices, such as servers, desktops, laptops or handhelds, require an OS in order to function.
- The OS acts like a translator between user applications and the hardware.
- A user interacts with the computer system through an application, such as a word processor, spreadsheet, computer game or instant messaging program.
- Application programs are designed for a specific purpose, such as word processing, and know nothing of the underlying electronics.
- For example, the application is not concerned with how information is entered into the application from the keyboard.
- The operating system is responsible for the communication between the application and the hardware.
- When a computer is powered on, it loads the OS, normally from a disk drive, into RAM. The portion of the OS code that interacts directly with the computer hardware is known as the kernel. The portion that interfaces with the applications and user, is known as the shell. The user can interact with the shell using either the command line interface (CLI) or graphical user interface (GUI).
- When using the CLI, the user interacts directly with the system in a text-based environment by entering commands on the keyboard at a command prompt. The system executes the command, often providing textual output. The GUI interface allows the user to interact with the system in an environment that uses graphical images, multimedia, and text. Actions are performed by interacting with the images on screen. GUI is more user friendly and requires less knowledge than CLI of the command structure to utilize the system. For this reason, many individuals rely on the GUI environments. Most operating systems offer both GUI and CLI.
- Operating systems have complete control of local hardware resources. They are designed to work with one user at a time. They enable the user to multitask. The operating system keeps track of which resources are used by which application.
- In order to work with resources that are not directly connected to the computer system, a special piece of software must be added that allows a device to send and receive data from the network. This software, known as a redirector, may either be an integral part of the OS or may need to be installed separately as a network client. When installed, the operating system becomes a network operating system (NOS).
- A NOS offers complex scheduling and user management software that allow a device to share resources between many users and treat networked resources as though they are directly connected.
Operating System Requirements
- There are many different operating systems available. The major groupings are listed here with some examples.
- Microsoft Windows: XP, Vista, 2003 Server
- UNIX-Based: IBM AIX, Hewlett Packard HPUX, and Sun Solaris
- BSD – Free BSD
- Linux-Based (Many varieties)
- Macintosh OS X
- Non-Unix Proprietary: IBM OS/400, z/OS
- While most of these operating systems require the user to purchase and agree to a commercial license, there are several operating systems released under a different type of licensing scheme known as the GNU Public License (GPL).
- Commercial licenses usually deny end-users the ability to modify the program in any way. Windows XP, Mac OS X and UNIX are all examples of commercial OS software.
- In contrast, the GPL allows end-users to modify and enhance the code, if they desire, to better suit their environment. Some common operating systems, which are released under the GPL, include Linux and BSD.