Operating System-1
Operating System-1
An Operating System (OS) is system software that manages computer hardware and
software resources and provides common services for computer programs.
Essentially, it acts as an intermediary between users and the computer hardware
1.Boot Process:
When a computer is turned on, it performs a boot process to load the operating
system into memory (RAM). This process is initialized by the BIOS (Basic
Input/Output System) or UEFI (Unified Extensible Firmware Interface), which
locates the OS on the disk.
2.Kernal Operation:
The kernel is the core of the OS, managing all the system’s fundamental
functions. It operates in a privileged mode called kernel mode to control resources
directly.
• The kernel handles:
• Memory Management: Allocates memory to programs and keeps track
of memory usage, optimizing it to prevent crashes and inefficiency.
• Process Management: Manages running applications (processes),
ensuring each has the necessary resources and is executed correctly.
• Device Management: Interfaces with hardware through device drivers,
enabling input/output operations with keyboards, screens, disks, etc.
• File System Management: Controls how files are stored and accessed,
managing file directories, permissions, and storage locations.
3.User Interface(UI):
The OS provides a User Interface for interaction, which can be a Command-
Line Interface (CLI) or a Graphical User Interface (GUI).
6. Networking Commands
• ping - Check network connection to a host.
• ifconfig / ip - Configure or display network interfaces.
• netstat - Show network status.
• ssh - Securely connect to a remote server.
9. Package Management
• apt - Advanced Package Tool (Debian-based systems like Ubuntu).
• yum / dnf - Package manager for Red Hat-based systems.
• pacman - Package manager for Arch Linux.