Breaking

Monday, March 11, 2019

The operating system(OS) is system software that acts as an intermediate between the computer hardware (like Disk, CPU, I/O port, etc..) and its application program.


It is a group of programs that helps to manage computer resources. It provides the platform on which other application programs can install like Media Players, Document Readers, Web Browsers, etc.
Image result for kernel

Core Services of the operating system is called Kernel. It is nothing but a set of programs that loaded on the start-up of the computer. The kernel is the intermediate between hardware and application.

Core Services:- memory management, CPU scheduling, file management, Error detection, I/O operation, program execution,etc..

User can operate a computer in two ways:-

1. Graphical User Interference (GUI)    Mostly used by Windows OS
2. Command Line Interference(CLI)    Used by Unix/Linux OS

Shell is a set of programs that interface between user and kernel. When a programmer gives any commands and system call through CLI, then shell work is to communicate the user commands to the kernel and this is the only way a user can instruct the kernel of OS. Mostly uses shells are:- Sh, Csh, Ksh, Bash, etc..

One command through shell performs one task, If we want to perform Thousand of tasks one after another by the kernel, we have to give thousand of commands one after another through CLI and this is nothing but wasting of time for a programmer. Instead of that, we can run a Batch File(File Containing Thousand of Commands) to perform all the tasks one by one automatically. And this is called Shell Scripting.

Abstract View Of Operating System
Goals Of Operating System:-
1. Convenience or user-friendly.
2. Efficiency.


Function Of Operating System:-
1. Process Management
2. Memory Management
3. File Management
4. I/O Device Management
5. Network Management
6. Security and Protection

Also, Read 👇

close