Important Notice:

Basics of Operating System

Basics of Operating System

27 views 1 min read

Basics of Operating System (OS के मूलभूत सिद्धांत) हिंदी में:

Kernel और Shell:

Kernel (कर्नेल):

  • यह OS का Core (मुख्य भाग) होता है।

  • यह सीधे Hardware से बात करता है

  • यह Memory, Processes, और Devices को Control करता है।

Shell (शैल):

  • यह User और Kernel के बीच का Interface है।

  • User Shell में Command देता है, Shell Kernel तक पहुँचाता है।

  • Example: Command Prompt (cmd), PowerShell, Terminal (Linux)

 

System Call:

  • यह एक Special Function है जो Program द्वारा OS से Service माँगने के लिए Use होता है।

  • Example: जब आप printf("Hello") लिखते हैं, तो Program OS से "Screen पर Print करने" की System Call करता है।

kernel.png

OS के प्रकार (Types of OS):

  1. Single-tasking OS – एक समय में एक काम (पुराने MS-DOS)

  2. Multi-tasking OS – एक समय में कई काम (Windows, Linux)

  3. Single-user OS – एक User (Home PC)

  4. Multi-user OS – कई Users एक साथ (Server)

[IMAGE: Comparison diagram - Single-tasking showing one program running vs Multi-tasking showing multiple programs like Music + Browser + Notepad running simultaneously]

English:

Kernel: The core part of OS that directly communicates with hardware. It manages memory, processes, and devices.

Shell: The interface between user and kernel. Example: Command Prompt (cmd), Terminal.

System Call: A special function used by a program to request a service from the OS.

User Mode vs Kernel Mode:

  • User Mode: Simple programs run with limited access.

  • Kernel Mode: Critical system tasks run with full hardware access.

Types of OS:

  • Single-tasking (MS-DOS)

  • Multi-tasking (Windows, Linux)

  • Single-user (Home PC)

  • Multi-user (Server)

Related Notes