You are on page 1of 17

Oprating System

Linux Operating
System
PRESENT BY: Raghad Khalaf ,Alanoud Hathal,
Duha Aqeel, Sultanh Turki

………………………..
TABLE OF CONTET

•Introduction
•history
•Benfit of linux
•Application
•Architecture
•Interface in linux
•Commands
•Linux is a Unix-like operating system
assembled under the model of free and
open source software.

• Linux was mainly programmed in C and


What is Linux? Assembly languages

•Linux is developed collaboratively,


meaning no one company is solely
responsible for its development or ongoing
support..
History
•In 1991, Linus Torvalds was •Linus was a believer of
a second year student of free and open software and
Computer Science at the wanted to develop an Unix-
University of Helsinki in like operating system that
Finland where he had been was in support of the GNU
using Minix, cause.
• a non-free Unix-like system • He began writing his own
to study the inner workings of kernel while in college.
the computer
Advantages of Linux
01 02 03
Free Stability Security
The Linux security feature is
The biggest advantage of Linux is more stable than
the main reason that it is
the Linux system is that it other operating systems.
the most favorable
is free to use.
option for developers.

04 05 06
Performance Flexibility Software Updates
Linux system provides high Linux operating system is very
flexible. It can be used for In Linux, the software
performance over
desktop applications, embedded updates are in user control.
different networks.
systems , and server
applications too.
What do you use Linux for?
Linux is used in the following ways:
-Server OS for web servers
-Database servers
-File servers
-Email servers, and any other type of shared server.
Architecture of Linux:

Hardware layer: The hardware layer of Linux is


made up of several peripheral devices attached to
the System such as a CPU, HDD, and RAM.

Kernel: core part of an operating system. It


manages the operations of the computer and the
hardware
Architecture of Linux:

Shell: It is an interface among the kernel and user.


It provides kernel services, and it runs kernel
operations. operating systems are categorized into
two different types, which are the graphical shells
and command-line shells.

Applications : These are the utility programs which


runs on Shell. This can be any application like Your
web browser, media player, text editor
Linux interface

GUI CLI
• Provided by the graphical shell • Provided by commmand line shell
• User-Friendly • Complex and powerful
• Require more memory • Require less memory
• appearance may be modified • appearance may not be modified
Basic linux terminals
cd Alllow you to go to a directory

alias Create custom shortcuts for your regularly used terminal

mkdir Create directories

clear Clear the terminal display

whoami Get the active username

ps Displays the list of processes running on the system.

useradd and usermod Add a new user or change existing user


LS command
●The ls command is used to display a list of content of a directory.
• ls -a ( all ) Lists all the files ( including hidden files ).
• ls -S ( size ) Lists the biggest files first .
• ls -r ( reverse ) Reverses the sort order.

Cal command
The cal command displays a well-presented calendar on the terminal.
The basic syntax :cal or Specific calendar : cal <month year>
Sort command
The sort command will provide a sort the file contents a in aplanatic order .
The basic syntax :sort <file name> or Reverse order: Sort -r <file name>

rm command
The rm and command is used to delete files.
The basic Syntax: rm <file name>
rm - i. :Remove a file interactively. rm -r or To delete a directory recursively.
Rename command

to rename a large group of files at once.


Basic syntax: rename 's/old-name/new-name/' files
• rename –n :Check changes before running the command.
• rename (a-z)(A-Z)/ (A-Z)(a-z): Convert into upper case/lower case
touch:
is used to create empty files. We can create multiple empty files by
executing it once.
Syntax: touch <file name>
Commands of Linux:
uptime :
The uptime command tells us how long a system has been running.
Syntax: uptime

Date :
The command will display the current date and time of the system.
Syntax :date
Free:
The free command gives information about used and unused
memory usage and swap memory of a system.

Syntax: free
Thank you for listening

You might also like