0% found this document useful (0 votes)
2 views4 pages

Linux Oerating System

Linux is a free and open-source operating system created by Linus Torvalds in 1991, known for its reliability and flexibility. Its architecture includes components such as the kernel, system libraries, shell, hardware layer, and system utilities, which work together to manage system resources and user interactions. The document also outlines basic Linux commands and describes the structure of the Linux file system, which consists of the logical file system, virtual file system, and features like journaling and versioning.

Uploaded by

wjjwjwsbjsjs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views4 pages

Linux Oerating System

Linux is a free and open-source operating system created by Linus Torvalds in 1991, known for its reliability and flexibility. Its architecture includes components such as the kernel, system libraries, shell, hardware layer, and system utilities, which work together to manage system resources and user interactions. The document also outlines basic Linux commands and describes the structure of the Linux file system, which consists of the logical file system, virtual file system, and features like journaling and versioning.

Uploaded by

wjjwjwsbjsjs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Linux Oerating System

Linux is a free and open-source family of operating systems that is powerfull and flexible.
In 1991, an individual by the name as Linus Torvalds constructed it. The system's source
code is accessible to everyone for anyone to look at and change.Linux, that's well-known
for its reliability, safety, and flexibility, allows users to customize and improve their
environment to suit specific needs
Architecture of Linux
Linux architecture has the following components:

Linux Architecture
1. Kernel: Kernel is the core of the Linux based operating system. It virtualizes the
common hardware resources of the computer to provide each process with its virtual
resources. This makes the process seem as if it is the sole process running on the
machine. The kernel is also responsible for preventing and mitigating conflicts between
different processes. Different types of the kernel are:

 Monolithic Kernel
 Hybrid kernels
 Exo kernels
 Micro kernels
2. System Library: Linux uses system libraries, also known as shared libraries, to
implement various functionalities of the operating system. These libraries contain pre-
written code that applications can use to perform specific tasks. By using these
libraries, developers can save time and effort, as they don't need to write the same
code repeatedly. System libraries act as an interface between applications and the
kernel, providing a standardized and efficient way for applications to interact with the
underlying system.
3. Shell: The shell is the user interface of the Linux Operating System. It allows users to
interact with the system by entering commands, which the shell interprets and
executes. The shell serves as a bridge between the user and the kernel, forwarding the
user's requests to the kernel for processing. It provides a convenient way for users to
perform various tasks, such as running programs, managing files, and configuring the
system.
4. Hardware Layer: The hardware layer encompasses all the physical components of the
computer, such as RAM (Random Access Memory), HDD (Hard Disk Drive), CPU
(Central Processing Unit), and input/output devices. This layer is responsible for
interacting with the Linux Operating System and providing the necessary resources for
the system and applications to function properly. The Linux kernel and system libraries
enable communication and control over these hardware components, ensuring that
they work harmoniously together.
5. System Utility: System utilities are essential tools and programs provided by the Linux
Operating System to manage and configure various aspects of the system. These
utilities perform tasks such as installing software, configuring network settings,
monitoring system performance, managing users and permissions, and much more.
System utilities simplify system administration tasks, making it easier for users to
maintain their Linux systems efficiently.

Basic Linux Commands


Basic Linux Terminal Commands

Linux Commands Functions

1. Is command in Linux Displays information about files in the current directory.

2. pwd command in Linux Displays the current working directory.

3. mkdir command in Linux Creates a directory.

4. cd command in Linux To navigate between different folders.

5. rmdir command in Linux Removes empty directories from the directory lists.

6. cp command in Linux Copy files from one directory to another.

7. mv command in Linux Rename and Replace the files

8. rm command in Linux Delete files

9. uname command in
Command to get basic information about the OS
Linux

10. locate command in


Find a file in the database.
Linux

11. touch command in


Create empty files
Linux
Basic Linux Terminal Commands

12. ln command in Linux Create shortcuts to other files

13. cat command in Linux Display file contents on terminal

14. clear command in Linux Clear terminal

15. ps command in Linux Display the processes in terminal

16. man command in Linux Access manual for all Linux commands

17. grep command in Linux Search for a specific string in an output

18. echo command in Linux Print string or text to the terminal

19. wget command in Linux download files from the internet.

20. whoami command in


Displays the current users name
Linux

21. sort command in Linux sort the file content

22. cal command in Linux View Calendar in terminal

23. whereis command in View the exact location of any command typed after this
Linux command

24. df command in Linux Check the details of the file system

Check the lines, word count, and characters in a file using


25. wc command in Linux
different options

Linux File System


The Linux file system is a multifaceted structure comprised of three essential layers. At its
foundation, the Logical File System serves as the interface between user applications and
the file system, managing operations like opening, reading, and closing files.

File System is responsible for the management and storage of physical memory blocks
on the disk, ensuring efficient data allocation and retrieval.
Linux File System Structure
A file system mainly consists of 3 layers. From top to bottom:
1. Logical File System:
The Logical File System acts as the interface between the user applications and the file
system itself. It facilitates essential operations such as opening, reading, and closing files.
Virtual File System:
The Virtual File System (VFS) is a crucial layer that enables the concurrent operation of
multiple instances of physical file systems. It provides a standardized interface, allowing
different file systems to coexist and operate simultaneously.
Virtual File System:
The Virtual File System (VFS) is a crucial layer that enables the concurrent operation of
multiple instances of physical file systems. It provides a standardized interface, allowing
different file systems to coexist and operate simultaneously.

1) Journaling:
Journaling file systems keep a log called the journal, that keeps track of the changes
made to a file but not yet permanently committed to the disk so that in case of a system
failure the lost changes can be brought back.
2) Versioning:
Versioning file systems store previously saved versions of a file, i.e., the copies of a file
are stored based on previous commits to the disk in a minutely or hourly manner to create
a backup.
3) Inode:
The index node is the representation of any file or directory based on the parameters -
size, permission, ownership, and location of the file and directory.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy