LINUX Unit 1
LINUX Unit 1
• A research team at AT&T’s Bell Labs developed Unix in the late 1960s
and early 1970s with a focus on creating an operating system that
would be accessible and secure for multiple users.
• Open source means that the code is fully visible, and can be modified
and redistributed.
Linux is used in most of the servers like web Server, Email Server, DNS Server, File
Servers, workstations, home user PC, client and even more than 80% of
supercomputers.
Feature of Linux
• Written in high level language “C”
• Use hierarchical file system allows easy file maintenance
• Use consistent file format: byte stream
• Multiuser and multi-process system
• Use round robin scheduling with multilevel feedback. Process aging is employed
to prevent starvation
• Memory management employ swapping and demand paging
Basic Concepts
• Kernel: The kernel is the heart of the operating system. It interacts with the
hardware and most of the tasks like memory management, task scheduling
and file management.
• Shell: The shell is the utility that processes your requests. When you type in
a command at your terminal, the shell interprets the command and calls
the program that you want. The shell uses standard syntax for all
commands. C Shell, Bourne Shell and Korn Shell are the most famous shells.
• Commands and Utilities: There are various commands and utilities which
you can make use of in your day-to-day activities. cp, mv, cat and grep, etc.
are few examples of commands and utilities.
Components of Linux System
• Kernel − Kernel is the core part of Linux. It is responsible for all major activities of
this operating system. It consists of various modules and it interacts directly with
the underlying hardware. Kernel provides the required abstraction to hide low
level hardware details to system or application programs.
• System Library − System libraries are special functions or programs using which
application programs or system utilities accesses Kernel's features. These libraries
implement most of the functionalities of the operating system and do not requires
kernel module's code access rights.
• System Utility − System Utility programs are responsible to do specialized,
individual level tasks.
Files and Directories: All the data of Linux is organized into files. All files are then
organized into directories. These directories are further organized into a tree-like
structure called the filesystem.
There are three basic types of files –
Ordinary Files − An ordinary file is a file on the system that contains data, text, or
program instructions. In this tutorial, you look at working with ordinary files.
Directories − Directories store both special and ordinary files. For users familiar with
Windows or Mac OS, Unix directories are equivalent to folders.
Special Files − Some special files provide access to hardware such as hard drives, CD-
ROM drives, modems, and Ethernet adapters. Other special files are similar to
aliases or shortcuts and enable you to access a single file using different names.
Most of Linux version has GUI like MS Windows, however to
explore the full capability of Linux user need to learn the
command mode.
Argument specifies that the command will work on the argument supplied if any.
e.g. $ ls ;
List information about directories & files of current working directory