SlideShare a Scribd company logo
1 of 21
Basics
www.kerneltraining.com/linux-admin-training
Outline
 What is an Operating Systems
 History of UNIX
 Unix Principles
 ARCHITECTURE OF UNIX
 FILE SYSTEM HIERARCHY
 BASIC COMMANDS IN UNIX
www.kerneltraining.com/linux-admin-training
WHAT IS OPERATING SYSTEM?
 Operating system is an interface between user and the computer
hardware. The hardware of the computer cannot understand the
human readable language as it works on binaries i.e. 0’sand 1’s. In
such case we need an interface which can translate human language
to hardware and vice-versa for effective communication
 Requirement to create an operating system
source code +applications=kernel
kernel+ software=os
www.kerneltraining.com/linux-admin-training
HISTORY OF UNIX
 In 1960 1st operating system is MULTICS (multiplexed information computer
service)at AT & T bell lab
 Ken Thompson developed UNIX in 1969 so he could play games on a scavenged DEC
PDP-7. With the help of Dennis Ritchie, the inventor of the “C” programing language,
Ken rewrote UNIX entirely in “C”
 In 1974, the OS was licensed to universities for educational purposes.
 Over the years, hundreds of people added and improved upon the system, and it
spread into the commercial world.

 GNU project started in 1984 by Richard Stallman.
www.kerneltraining.com/linux-admin-training
During the late 1980’s there were several of
commercial implementations of UNIX:
 Apple Computer’s A/UX
 AT&T’s System V Release 3
 Digital Equipment Corporation’s Ultrix and OSF/1 (renamed to DEC UNIX)
 Hewlett Packard’s HP-UX
 IBM’s AIX
 Lynx’s Real-Time UNIX
 NeXT’s NeXTStep
 Santa Cruz Operation’s SCO UNIX
 Silicon Graphics’ IRIX
 SUN Microsystems’ SUN OS and Solaris and dozens more.
www.kerneltraining.com/linux-admin-training
UNIX PRINCIPLES
Everything is a file:- UNIX system have many powerful utilities
designed to create and manipulate files. The UNIX security model is
based around the security of files. By treating everything as a file, you
can secure access to hardware in the same way as you secure access to a
document.
Configuration data stored in text: - Storing configuration in text allows
an administrator to move a configuration from one machine to another
easily, provide the ability to roll back a system configuration to a
particular date and time.
www.kerneltraining.com/linux-admin-training
Linux orgins
 Linux was developed in 1991 by Linus Torvalds and a band of
programmers who voluntarily developed the core program of the
system, the kernel. That program was originally compatible for
another operating system called Minix .
 When Linux Kernel combined with GNU applications, complete free
UNIX like OS was
developed.
Eg: Redhat, CentOS, SuSe, Fedora,
Ubuntu, Gentoo
www.kerneltraining.com/linux-admin-training
ARCHITECTURE OF UNIX
www.kerneltraining.com/linux-admin-training
FILESYSTEM HIERARCHY
www.kerneltraining.com/linux-admin-training
Basic commands
 Cat find command
 Vim soft&hard link
 Mkdir
 Cp,mv,rm,rmdir
 Grep
 Filter commands
 i/o redirection
 File permission
www.kerneltraining.com/linux-admin-training
Command to create files:
 1.cat > file1 to create a file and data to file
 2.cat file1  to see file information
 3.cat >> file1  to add data to already the
extisting file
 Touch command:
 1.touch file{1..100}  to create multipul files
but empty files
 Create directory:
 mkdir ktdir to create a directory
www.kerneltraining.com/linux-admin-training
1. cp file ktdir
2. cp –rfvp ktdir ktdir2
3. mv file ktdir
4. mv ktdir ktdir2
5. mv oldfilename newfilename
6. mv olddirectory newdirectory
7. rm –f filename
8. rmdir dirname
9. rm –rf dirname
www.kerneltraining.com/linux-admin-training
Vim editor:
1.Command mode(edit)
 2.Inset mode(inter data)
 3.Extend command mode(save the file)

 Command mode keys:
 gg, G, dd, 5dd, u, yy, 4yy, p, P, x, U
 Insert mode:
 i, o, a ,A
 Extend command mode:
 Esc+shift+:+wq
 Esc+shift+:+X
 Esc+shift+:+se nu
 Esc+shift+:+se nonu
www.kerneltraining.com/linux-admin-training
soft link Hard link
SHORTCUT FILE BACKUP FILE
if original file is deleted, link is broken
and data is lost
If original file is deleted then also link
will contain data
Files,directorys files
Inode no. of source and link file is
different
Inode no. of both file is same
www.kerneltraining.com/linux-admin-training
Filter commands:
1. less
2. more
3. head
4. tail
5. sort
6. cut
7. sed
www.kerneltraining.com/linux-admin-training
Find command:
 find / -name file1
 find / -inum file1
 find / -group file1
 find / -user file1
 I/O REDIRECTION:
Redirection is a process where we can copy the output of any
command(s), file(s) into a new file. There are two ways of redirecting
the output into a file.
cat file1 >> file2
cat file1 > file2
www.kerneltraining.com/linux-admin-training
FILE PERMISSIONS:
 1. Symbolic method
 2. Absolute methods
 Absolute methods
Permissions are applied on three levels:-
Owner or User level(u)
Group level(g)
Others level(o)
Syntax:
Chmod u+rw,g+wrx,o+wx file/dir
+ adding, -substract, = overwritting
www.kerneltraining.com/linux-admin-training
Symbolic method:
Read = 4
Write = 2
Execute = 1
User,group,others
Syntax:
1. Chmod 675 file/dir
www.kerneltraining.com/linux-admin-training
Umask
022
Directory: 777-022 = 755
Files: 666-022 = 644
Umask 002
Directory: 777-002 = 775
Files: 666-002 = 664
Questions?
www.kerneltraining.com/linux-admin-training
THANK YOU
for attending introduction to
www.kerneltraining.com/linux-admin-training

More Related Content

Viewers also liked

Ibm web sphere application server interview questions
Ibm web sphere application server interview questionsIbm web sphere application server interview questions
Ibm web sphere application server interview questionspraveen_guda
 
What is a Server
What is a ServerWhat is a Server
What is a ServerKuwait10
 
Unix operating system
Unix operating systemUnix operating system
Unix operating systemmidhunjose4u
 
CI and CD with Jenkins
CI and CD with JenkinsCI and CD with Jenkins
CI and CD with JenkinsMartin Málek
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about serversSasin Prabu
 
Complete Guide for Linux shell programming
Complete Guide for Linux shell programmingComplete Guide for Linux shell programming
Complete Guide for Linux shell programmingsudhir singh yadav
 
Types of Servers - Basic Differences
Types of Servers - Basic DifferencesTypes of Servers - Basic Differences
Types of Servers - Basic DifferencesVR Talsaniya
 

Viewers also liked (14)

Server training
Server trainingServer training
Server training
 
Ibm web sphere application server interview questions
Ibm web sphere application server interview questionsIbm web sphere application server interview questions
Ibm web sphere application server interview questions
 
Demystifying Devops - Uday kumar
Demystifying Devops - Uday kumarDemystifying Devops - Uday kumar
Demystifying Devops - Uday kumar
 
Servers
ServersServers
Servers
 
What is a Server
What is a ServerWhat is a Server
What is a Server
 
Unix operating system
Unix operating systemUnix operating system
Unix operating system
 
Web servers
Web serversWeb servers
Web servers
 
CI and CD with Jenkins
CI and CD with JenkinsCI and CD with Jenkins
CI and CD with Jenkins
 
Unix slideshare
Unix slideshareUnix slideshare
Unix slideshare
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about servers
 
Scheduling algorithms
Scheduling algorithmsScheduling algorithms
Scheduling algorithms
 
Basic Server PPT (THDC)
Basic Server PPT (THDC)Basic Server PPT (THDC)
Basic Server PPT (THDC)
 
Complete Guide for Linux shell programming
Complete Guide for Linux shell programmingComplete Guide for Linux shell programming
Complete Guide for Linux shell programming
 
Types of Servers - Basic Differences
Types of Servers - Basic DifferencesTypes of Servers - Basic Differences
Types of Servers - Basic Differences
 

Recently uploaded

INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 

Recently uploaded (20)

INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 

Linux Basics | Core Linux | ppts | Introduction | demo | course free