Module I - Introduction To Linux
Module I - Introduction To Linux
LINUX BASICS
Course Goals
Introduce you to the basics of Linux.
Explores the basic characteristics of Linux Networking.
Teach you to learn Linux Shell, File Structure, and Network
Administration Services.
Makes you understand various Linux security techniques.
Learning Objective Department of Computer
Science and Engineering
To understand how Linux was developed and which are the features that make it
popular as compared to other operating systems
To give an abstract description of the overall architecture of Linux
To present various designs of the kernel and among them which design is adopted
for Linux kernel development
To present the design and importance of each directory/file in the Linux file system
To present the idea of how a communicator takes responsibility to send only correct
instructions to the master component of O/S so that the master can do more
productive work
To impart the most useful Linux commands
Understand the basics of Linux
Application of Linux in Industry Usage
Learning Objective
Department of Computer
Science and Engineering
Can understand the popularity of Linux and its various distributions that can be used
for personal and commercial purposes without any cost
Understand the essential components of Linux system architecture
Able to distinguish the design of Linux kernel with non-Linux O/S kernel
Able to understand the importance of file system
Able to understand that to increase the throughput of the system, the correctness of
the user instruction must be checked by the mediator before execution
Comfortable to use commands in any organization where Linux o/s is primarily used.
Analyze the category of different types of users.
Able to assign appropriate access permission to users working in the same system.
Perform the basic operations for Linux.
Analyze the potential of Linux in Industry.
Topics Department of Computer
Science and Engineering
Introduction to Linux
File System of the Linux
General usage of Linux kernel & basic commands
Linux users and group
Permissions for file
Directory and users
Searching a file & directory
Zipping and Unzipping concepts
Linux for the Industry 4.0 Era
OPENIL and its advantages
Features of OPENIL
Why Linux Department of Computer
Science and Engineering
Both offer
Graphics capabilities
Networking capabilities
But Linux networking is excellent
Linux System Architecture Department of Computer
Science and Engineering
• Kernel
• The part of an OS where the real work is done
• System call interface
• Comprise a set of functions (often
known as Application Programmer’s Interface (API) that can be used
by the applications and library routines to use the services provided
by the kernel
• Application User’s Interface Process Management
• Interface between the kernel and user • For a multitask system, multiple programs can
• Allow user to make commands to the system be executed simultaneously in the system
•
• When a program starts to execute, it becomes a process
Divided into text-based and graphical-based
• The same program
• File Management executing at two different times will become two different
• Control the creation, and removal of files and processes
provide directory maintenance • Kernel manages processes in terms of creating, suspending,
• For a multiuser system, every user should have its and terminating them
own right to access files and directories • A process is protected from other processes and can communicate
with others
Department of Computer
Linux System Architecture Science and Engineering
Memory management
• Memory in a computer is divided into main memory (RAM) and secondary storage (usually referred to as hard disk)
• Memory is small in capacity but fast in speed, and hard disk is vice versa
• Data that are not currently used should be saved to a hard disk first, while data that are urgently needed should be retrieved
and stored in RAM
• The mechanism is referred to as memory management
Device drivers
• Interfaces between the kernel and the BIOS
• Different device has different driver
Kernel
• A core component of the Operating System without which OS can’t work
• Kernel is the nervous system of the OS
• It controls everything in OS including I/O Management, Process Management and so on
• It is a bridge between applications and the actual data processing done at the hardware level
• It acts as an interface between the user applications and the hardware
Department of Computer
Science and Engineering
Department of Computer
Science and Engineering
Tasks of kernel Department of Computer
Science and Engineering
3. Input/Output Devices
The Kernel allocates requests from applications to perform I/O to an
appropriate device and provides convenient methods for using the device
4. Memory Management
The Kernel has full access to the system's memory and must allow processes
to safely access this memory as they require it
5.Device Management
A Kernel must maintain a list of available devices. This list may be known in
advance configured by the user or detected by the operating system at run
time (normally called plug and play)
Continued… Department of Computer
Science and Engineering
It has all the things in the kernel itself so we don't need any extra
mechanism for handling of I/O and process at the time of application
making.
Department of Computer
Cons of Monolithic Kernel Science and Engineering
Coding in kernel space is hard since you cannot use common libraries
Debugging is harder, rebooting the computer is often needed
Bugs in one part of the kernel produce strong side effects
Kernels often become very huge and difficult to maintain
Not portable one. Monolithic kernels must be rewritten for each new
architecture that the OS is to be used on.
Micro Kernel Department of Computer
Science and Engineering
Thanks!…
Any question?