SlideShare a Scribd company logo
Introduction to Linux
DevOps Essentials
2020
Session outline
 What is Linux?
 Linux Shell, Access and Linux File system structure
 Basic Linux/ Unix commands
 Top 50 command used in Linux
 Changing file permissions and ownership
 Filter commands/ Simple filter and advance filter commands.
 Start and Stop services
 Working with Environment Variables
 Find and kill the process with id and name
 Package installation using RPM and YUM
 Shell scripts
What is Linux
LinusTorvalds,in 1991 Released the first version of his Linux Kernel.
Operating system“kernel” is the core software used to communicate
with computer hardware. It’s a core and modular system of drivers used
to create a Resource manager for allocating memory and time to system
and user processes as well as interacting with files (I/O)
Kernel operates in its own memory or“kernel-space”.
Linux Shell
On user log-in,the system runs a shell
A shell is the environment within which you will interface with the kernel
via commands.
It determines the syntax for complex command-line operations and shell
scripting.
The shell you’re using is called“bash,” the successor to the venerable
“Bourne Shell” called“sh”
BASH: “BourneAgain SHell”
Popular Linux Distributions
 Red Hat Enterprise Linux
 Ubuntu
 Fedora
 Amazon Linux
 SUSE/ SUSE Enterprise Linux
 CentOS
 Debian
 Arch Linux
Linux accounts & Access
To access a Linux system, you need to have an account. A Linux account
includes the following:
- username and password
- uid and gid
- a home directory, which is where you are placed by default when you log in
- a default shell
Introducing OpenSSH
 SSH is the“Secure Shell”
 SSH supports a file-transfer subsystem – scp
 SSH is used to remotely login to a Linux server.
 Command to connect a server with IP 192.168.1.1
 ssh <username>@192.168.1.1
The File System
Linux and Unix-like file systems are arranged in a tree structure, all
with the same bottom level, called “root” (/).
Linux Directory Structure
/ root
/bin bare essential
commands
/boot OS Kernels
/dev hardware devices
/etc system files,
configuration
/home home directories
/lib Libraries needed by
the system
/opt 3 party applications
/proc Running processes
/sbin administrative commands
/tmp temporary space
/usr operating system
applications
/var Logs, databases and other
stuffs
Navigating File System

More Related Content

PPTX
Linux basics
PPTX
Introduction to linux1
PPTX
Introduction to linux
PPTX
Linux day 2.ppt
PDF
Basics of Linux
PPT
Operating Systems 1
PPT
Operating Systems 2
ODP
Linux permissions
Linux basics
Introduction to linux1
Introduction to linux
Linux day 2.ppt
Basics of Linux
Operating Systems 1
Operating Systems 2
Linux permissions

What's hot (20)

PPTX
Basics of-linux
PDF
Linux Fundamental
PPTX
Linux Fundamentals
PPTX
Unix operating system architecture with file structure
PPTX
Linux basics
PDF
17 Linux Basics #burningkeyboards
PPT
3. introduction of centos
PPT
Linux Training Workshop
PPT
Linuxppt
PPT
Introduction To Unix
PPT
Unix fundamentals
PPT
1 basic computer operations
PPT
4. Centos Administration
DOCX
Introduction to unix
PPTX
PDF
Linux basic
PPTX
Unix
PPTX
PDF
UNIX Drive Storage
Basics of-linux
Linux Fundamental
Linux Fundamentals
Unix operating system architecture with file structure
Linux basics
17 Linux Basics #burningkeyboards
3. introduction of centos
Linux Training Workshop
Linuxppt
Introduction To Unix
Unix fundamentals
1 basic computer operations
4. Centos Administration
Introduction to unix
Linux basic
Unix
UNIX Drive Storage
Ad

Similar to Introduction to linux day1 (20)

PDF
Linux systems - Getting started with setting up and embedded platform
PDF
PDF
Linux systems - Linux Commands and Shell Scripting
PDF
Linux Systems: Getting started with setting up an Embedded platform
PPTX
KMSUnix and Linux.pptx
PPTX
Licão 02 shell basics bash intro
PPTX
PPT of linux commands by Don Johnson.pptx
PPTX
Linux Desktop Operation - Session 1
PPTX
LinuxTraining_3.pptx
PPTX
Linux Shell Basics
PPTX
Introduction to Linux
PPTX
Network and System Administration Power Point
PDF
An Introduction To Linux
PPTX
INTRODUCTION TO LINUX
PPTX
Amritha technologies ppt
PPTX
Amritha technologies
PPTX
Introduction khgjkhygkjiyhgikjyhgikygkii
PPTX
Introduction to-linux
PPTX
Introduction-to-Linux.pptx
PPTX
Introduction-to-Linux.pptx
Linux systems - Getting started with setting up and embedded platform
Linux systems - Linux Commands and Shell Scripting
Linux Systems: Getting started with setting up an Embedded platform
KMSUnix and Linux.pptx
Licão 02 shell basics bash intro
PPT of linux commands by Don Johnson.pptx
Linux Desktop Operation - Session 1
LinuxTraining_3.pptx
Linux Shell Basics
Introduction to Linux
Network and System Administration Power Point
An Introduction To Linux
INTRODUCTION TO LINUX
Amritha technologies ppt
Amritha technologies
Introduction khgjkhygkjiyhgikjyhgikygkii
Introduction to-linux
Introduction-to-Linux.pptx
Introduction-to-Linux.pptx
Ad

Recently uploaded (20)

PPTX
Welding lecture in detail for understanding
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
additive manufacturing of ss316l using mig welding
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
PPT on Performance Review to get promotions
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Sustainable Sites - Green Building Construction
PPTX
web development for engineering and engineering
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
Welding lecture in detail for understanding
R24 SURVEYING LAB MANUAL for civil enggi
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Embodied AI: Ushering in the Next Era of Intelligent Systems
Model Code of Practice - Construction Work - 21102022 .pdf
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Automation-in-Manufacturing-Chapter-Introduction.pdf
CH1 Production IntroductoryConcepts.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
bas. eng. economics group 4 presentation 1.pptx
additive manufacturing of ss316l using mig welding
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPT on Performance Review to get promotions
OOP with Java - Java Introduction (Basics)
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Sustainable Sites - Green Building Construction
web development for engineering and engineering
Operating System & Kernel Study Guide-1 - converted.pdf

Introduction to linux day1

  • 2. Session outline  What is Linux?  Linux Shell, Access and Linux File system structure  Basic Linux/ Unix commands  Top 50 command used in Linux  Changing file permissions and ownership  Filter commands/ Simple filter and advance filter commands.  Start and Stop services  Working with Environment Variables  Find and kill the process with id and name  Package installation using RPM and YUM  Shell scripts
  • 3. What is Linux LinusTorvalds,in 1991 Released the first version of his Linux Kernel. Operating system“kernel” is the core software used to communicate with computer hardware. It’s a core and modular system of drivers used to create a Resource manager for allocating memory and time to system and user processes as well as interacting with files (I/O) Kernel operates in its own memory or“kernel-space”.
  • 4. Linux Shell On user log-in,the system runs a shell A shell is the environment within which you will interface with the kernel via commands. It determines the syntax for complex command-line operations and shell scripting. The shell you’re using is called“bash,” the successor to the venerable “Bourne Shell” called“sh” BASH: “BourneAgain SHell”
  • 5. Popular Linux Distributions  Red Hat Enterprise Linux  Ubuntu  Fedora  Amazon Linux  SUSE/ SUSE Enterprise Linux  CentOS  Debian  Arch Linux
  • 6. Linux accounts & Access To access a Linux system, you need to have an account. A Linux account includes the following: - username and password - uid and gid - a home directory, which is where you are placed by default when you log in - a default shell Introducing OpenSSH  SSH is the“Secure Shell”  SSH supports a file-transfer subsystem – scp  SSH is used to remotely login to a Linux server.  Command to connect a server with IP 192.168.1.1  ssh <username>@192.168.1.1
  • 7. The File System Linux and Unix-like file systems are arranged in a tree structure, all with the same bottom level, called “root” (/). Linux Directory Structure / root /bin bare essential commands /boot OS Kernels /dev hardware devices /etc system files, configuration /home home directories /lib Libraries needed by the system /opt 3 party applications /proc Running processes /sbin administrative commands /tmp temporary space /usr operating system applications /var Logs, databases and other stuffs