SlideShare una empresa de Scribd logo
1 de 32
Introduction to the Linux Operating System

Objectives
In this lesson, you will learn to:
 Identify the functions of an operating system

 Differentiate between single-user and multi-user
   operating systems
 Identify the inception, growth, features, and
   architecture of Linux
 Identify the various shells available in Linux

 Start a Linux session
 List the users who are currently logged in


©NIIT                                   Linux/Lesson 1/Slide 1 of 32
Introduction to the Linux Operating System

Objectives(contd.)
 Assign passwords to a Linux user using the passwd
         command

 End a Linux session
 Identify the features of the Linux filesystem
 Create a directory using the mkdir command

 Delete a directory using the rmdir command

 List the contents of a directory using the ls command

 Copy a file using the cp command


©NIIT                                  Linux/Lesson 1/Slide 2 of 32
Introduction to the Linux Operating System

Objectives(contd.)
 Move a file using the mv command

 Delete a file using the rm command

 Use man command to get online help




©NIIT                                  Linux/Lesson 1/Slide 3 of 32
Introduction to the Linux Operating System

Getting Started
 Operating Systems
     An operating system (OS) is a software program
      that acts as an interface between a user and a
      computer, e.g Linux, Unix, Microsoft DOS etc
 Functions of an Operating System
     Command Interpretation
     Process Management
     Memory Management
     I/O Operations and Peripheral Management
     File management
©NIIT                                Linux/Lesson 1/Slide 4 of 32
Introduction to the Linux Operating System

Getting Started(contd.)
 Types Of Systems
     Single-User Systems
        ®A  single-user system was designed for use by
         one person at a time. A personal computer (PC)
         is a popular single-user system
     Single–User Operating Systems
        ® MSDOS (Disk Operating System) is an
         example of a single-user operating system




©NIIT                                 Linux/Lesson 1/Slide 5 of 32
Introduction to the Linux Operating System

Getting Started(contd.)
 Types Of Systems(contd.)
     Multi-User Systems
          ® More   than one user can work simultaneously on
              a multi-user system
           Printer
                                                         Communication Lines




                     Multi-user System

                      System Unit
                      -Processor
                      -Disk(s)
                      -Tape(s)
                      -Floppy Disk(s)    Graphical or text                     Remote User
    System Console                          Terminals                           Terminals



©NIIT                                                    Linux/Lesson 1/Slide 6 of 32
Introduction to the Linux Operating System

Getting Started(contd.)
 Types Of Systems(contd.)
     Multi–User Operating Systems
        ® Linux,
               Unix, and Windows NT Terminal Server
         are examples of multi-user operating systems
        ® Morethan one user can connect to the system
         and work concurrently at any point in time




©NIIT                                Linux/Lesson 1/Slide 7 of 32
Introduction to the Linux Operating System

Flavours of Linux
Distributor Name    Website
 Red Hat           http://www.redhat.com
 Caldera           http://www.caldera.com
 Mandrake          http://www.linux-mandrake.com
 Debian            http://www.debian.org
 SuSE              http://www.suse.com
 Slackware         http://www.slackware.com




©NIIT                            Linux/Lesson 1/Slide 8 of 32
Introduction to the Linux Operating System

The Linux Architecture

The Linux operating system consists of the following:
 Kernel
 Shell

 Utilities and Application Programs




©NIIT                                  Linux/Lesson 1/Slide 9 of 32
Introduction to the Linux Operating System

Shells Available in Linux
 Bourne Shell (sh)
 C Shell (csh)
 Korn Shell (ksh)
 Restricted Shell (rsh)
 Bash Shell (bash)
 Tcsh Shell (tcsh)
 A Shell (ash)
 Z Shell (zsh)


©NIIT                          Linux/Lesson 1/Slide 10 of 32
Introduction to the Linux Operating System

Starting a Linux Session: Logging on
 Connect to a computer running the Linux operating
  system from any other computer using the telnet
  program
          telnet hostname or IP address
 The administrator assigns each user a HOME
  directory when a new logon account is created. When
  you log on, you are taken directly to your HOME
  directory




©NIIT                               Linux/Lesson 1/Slide 11 of 32
Introduction to the Linux Operating System

Listing the Users Currently Logged In
 A list of users who are currently logged in can be
  found by using the who command
    who [options]




©NIIT                                 Linux/Lesson 1/Slide 12 of 32
Introduction to the Linux Operating System

Security for the Users: Passwords
 Linux provides an additional measure of security by
  allowing you to have a password associated with your
  login name
 The combination of the login name and password is
  checked by Linux to verify if it is an authorized user
Changing the User Password
 Passwords can be changed using the passwd
  command
 The passwd command asks for the old password to
  ensure that only the authorized user is trying to
  change the password
©NIIT                                  Linux/Lesson 1/Slide 13 of 32
Introduction to the Linux Operating System

Root user:
 The root user (also known as the superuser) is the
  administrator of the Linux operating system


Ending a Linux Session: Logging out
 Typing exit or logout at the command prompt ends
  your current Linux session. You can also press
  CTRL+d to end the Linux session




©NIIT                               Linux/Lesson 1/Slide 14 of 32
Introduction to the Linux Operating System
The Linux Filesystem

                                             /



               bin                 boot          home          etc              usr             dev


cat     cp    ch       ls
              m                        tom         michael           user3
              od



                   Desktop       Templates        pr     pr
                                                  og     og
                                                  ra     ra
                                                  m      m
                                                  1      2               Legend
         De                 St
         fa                 ar                                                      Directory
         ul                 t
         t                                                                   File


©NIIT                                                        Linux/Lesson 1/Slide 15 of 32
Introduction to the Linux Operating System
The Linux Filesystem (contd.)
 The /bin directory stores many utilities of Linux
 The /dev directory stores all the device-related files for
  the system
 The /etc directory stores the operating system-related
  data which users and the operating system need to
  refer to, such as the passwd file
 The /lib directory contains libraries of data for the
  compilers installed in the Linux operating system, for
  example, the C language routines
 The /home directory generally contains all the HOME
  directories of users


©NIIT                                  Linux/Lesson 1/Slide 16 of 32
Introduction to the Linux Operating System
The Linux Filesystem (contd.)
 The /usr directory stores the operating system files
  that are not involved in the boot process
 The /var directory has information specific to different
  utilities of Linux




©NIIT                                 Linux/Lesson 1/Slide 17 of 32
Introduction to the Linux Operating System

In Linux, File Names:
 Can be up to 256 characters long
 Can contain special characters, except for ‘/’
 Can contain both uppercase and lowercase letters of
  alphabets
 Are case-sensitive
 Should not have a blank or a tab




©NIIT                                 Linux/Lesson 1/Slide 18 of 32
Introduction to the Linux Operating System

Types of Files in Linux

                                    File Types




        Ordinary files        Directory files       Special files




                Character            Block        Hard links        Symbolic
               Device files        Device files                       links




©NIIT                                                     Linux/Lesson 1/Slide 19 of 32
Introduction to the Linux Operating System
Types of Users in Linux
 System Administrator
     A System Administrator (SA) is primarily
      responsible for the smooth operation of the Linux
      operating system
 File Owner
     The user who creates a file is said to be its owner
 Group Owner
    A group of users is also given a name, just as a
     user is given a name
 Other Users
     These are users who do not belong to a particular
      group
©NIIT                                 Linux/Lesson 1/Slide 20 of 32
Introduction to the Linux Operating System

Directory Commands in Linux

 Identifying the Current Directory Path

     The pwd (print working directory) command is used
      to display the full path name of the current
      directory
 Changing the Current Directory
     The cd (change directory) command changes the
      current directory to the directory specified
 Creating a Directory
     The mkdir (make directory) command is used to
      create directories
©NIIT                                Linux/Lesson 1/Slide 21 of 32
Introduction to the Linux Operating System

Directory Commands in Linux (contd.)

 Removing a Directory

     The rmdir (remove directory) command removes
      the directory specified
 Listing the Contents of a Directory
     The ls command is used to display the names of
      the files and sub-directories in a directory




©NIIT                                   Linux/Lesson 1/Slide 22 of 32
Introduction to the Linux Operating System

File Commands in Linux
 The cat (concatenate) command displays the
  contents of the specified file
 Copying Files
     The cp (copy) command duplicates the contents of
      the source file into a target file
     cp [options] source file/s destination
      directory/file
 Removing Files
     The rm (remove) command is used to delete files
      or directories
     rm [options] file/s
©NIIT                               Linux/Lesson 1/Slide 23 of 32
Introduction to the Linux Operating System

File Commands in Linux (contd.)
 Moving and Renaming Files
     The mv (move) command is used to move a file or
      directory from one location to another or to change
      its name
     mv [option] source destination
 Displaying the Contents Page–Wise
    The more command is used to display data one
     screen-full at a time. While viewing a file using the
     more command, once you have scrolled down, you
     cannot move up

     more [options] filename

©NIIT                                  Linux/Lesson 1/Slide 24 of 32
Introduction to the Linux Operating System

File Commands in Linux (contd.)
 Displaying the Contents Page–Wise (contd.)
     The less command is similar to the more
      command except that you can scroll upwards also
      while viewing the contents of a file
     less [options] filename
Wildcard Characters
 The shell offers the facility to perform an operation on
  a set of files by the use of certain special characters in
  the command in place of the actual file names




©NIIT                                  Linux/Lesson 1/Slide 25 of 32
Introduction to the Linux Operating System

File Commands in Linux (contd.)
Wildcard Characters (contd.)
 The * Wildcard
     The * wildcard is interpreted as a string of none,
      one, or more characters
 The ? Wildcard
     The ? wildcard matches exactly one occurrence of
      any character
 The [ ] Wildcard
     The [ ] wildcard can be used to restrict the
      characters to be matched

©NIIT                                  Linux/Lesson 1/Slide 26 of 32
Introduction to the Linux Operating System

Getting Online Help
 The man command is used to get online help to a
  user about the various options for any command in
  Linux
     man command name




©NIIT                               Linux/Lesson 1/Slide 27 of 32
Introduction to the Linux Operating System

Summary
In this lesson you learned that:
 An operating system has the following functions:
     Command Interpretation
     Process Management
     Memory Management
     I/O Operations and Peripheral Management
     File Management
 A single-user system is designed for use by one
  person at a time
 More than one user can work simultaneously on a
  multi-user system
©NIIT                                Linux/Lesson 1/Slide 28 of 32
Introduction to the Linux Operating System

Summary(contd.)
 The Linux operating system consists of kernel, shell,
  utilities, and application programs
 Some of the commonly available shells in Linux along
 with their executable file names are:
     The Bourne shell (sh)
     the C shell (csh)
     The Korn shell (ksh)
     The Restricted shell (rsh)
     The Bash shell (bash)
     The Tcsh shell (csh/tcsh)

©NIIT                               Linux/Lesson 1/Slide 29 of 32
Introduction to the Linux Operating System

Summary(contd.)
     The A shell (ash)
     The Z shell (zsh)

 The telnet command is used to connect to a Linux
  server
 The passwd command is used to change the
  password of the user
 For organizing data on the disk, Linux provides a
  filesystem which allows you to group files in a
  convenient manner. The Linux filesystem has a
  hierarchical structure and files can be stored under
  directories

©NIIT                              Linux/Lesson 1/Slide 30 of 32
Introduction to the Linux Operating System

Summary(contd.)
 In Linux, there are three categories of files:
    Ordinary files
     Directory files
     Special files

 The types of users in Linux are:
    System Administrator
     File owner
     Group owner
     Other users

©NIIT                                  Linux/Lesson 1/Slide 31 of 32
Introduction to the Linux Operating System

Summary(contd.)
 In Linux, chat and e-mail programs are used to
 communicate with each other.









©NIIT                               Linux/Lesson 1/Slide 32 of 32

Más contenido relacionado

La actualidad más candente

Introduction to Linux
Introduction to Linux Introduction to Linux
Introduction to Linux Harish R
 
Linux lesson
Linux lesson Linux lesson
Linux lesson mutharam
 
OS Lab: Introduction to Linux
OS Lab: Introduction to LinuxOS Lab: Introduction to Linux
OS Lab: Introduction to LinuxMotaz Saad
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentalsRaghu nath
 
Linux ppt
Linux pptLinux ppt
Linux pptlincy21
 
Linux operating system ppt
Linux operating system pptLinux operating system ppt
Linux operating system pptAchyut Sinha
 
Introduction to linux at Introductory Bioinformatics Workshop
Introduction to linux at Introductory Bioinformatics WorkshopIntroduction to linux at Introductory Bioinformatics Workshop
Introduction to linux at Introductory Bioinformatics WorkshopSetor Amuzu
 
Linux operating system - Overview
Linux operating system - OverviewLinux operating system - Overview
Linux operating system - OverviewAshita Agrawal
 
Linux history & features
Linux history & featuresLinux history & features
Linux history & featuresRohit Kumar
 
Unix
UnixUnix
UnixErm78
 
Introduction about linux
Introduction about linuxIntroduction about linux
Introduction about linuxABHISHEK KUMAR
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentationnishantsri
 

La actualidad más candente (20)

Introduction to Linux
Introduction to Linux Introduction to Linux
Introduction to Linux
 
Linux lesson
Linux lesson Linux lesson
Linux lesson
 
OS Lab: Introduction to Linux
OS Lab: Introduction to LinuxOS Lab: Introduction to Linux
OS Lab: Introduction to Linux
 
Linux notes
Linux notesLinux notes
Linux notes
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentals
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Linux operating system ppt
Linux operating system pptLinux operating system ppt
Linux operating system ppt
 
Introduction to linux at Introductory Bioinformatics Workshop
Introduction to linux at Introductory Bioinformatics WorkshopIntroduction to linux at Introductory Bioinformatics Workshop
Introduction to linux at Introductory Bioinformatics Workshop
 
Linux
Linux Linux
Linux
 
Linux operating system - Overview
Linux operating system - OverviewLinux operating system - Overview
Linux operating system - Overview
 
Linux history & features
Linux history & featuresLinux history & features
Linux history & features
 
Unix
UnixUnix
Unix
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
 
Linux OS presentation
Linux OS presentationLinux OS presentation
Linux OS presentation
 
Introduction about linux
Introduction about linuxIntroduction about linux
Introduction about linux
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Linux training
Linux trainingLinux training
Linux training
 
Case study linux
Case study linuxCase study linux
Case study linux
 
Unix Introduction
Unix IntroductionUnix Introduction
Unix Introduction
 

Destacado

VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!VMworld
 
Linux Administration
Linux AdministrationLinux Administration
Linux AdministrationHarish1983
 
Linux On V Mware ESXi
Linux On V Mware ESXiLinux On V Mware ESXi
Linux On V Mware ESXiMasafumi Ohta
 
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld
 
Advancedtroubleshooting 101208145718-phpapp01
Advancedtroubleshooting 101208145718-phpapp01Advancedtroubleshooting 101208145718-phpapp01
Advancedtroubleshooting 101208145718-phpapp01Suresh Kumar
 
VMworld 2017 - Top 10 things to know about vSAN
VMworld 2017 - Top 10 things to know about vSANVMworld 2017 - Top 10 things to know about vSAN
VMworld 2017 - Top 10 things to know about vSANDuncan Epping
 
Advancedperformancetroubleshootingusingesxtop 101110131727-phpapp02
Advancedperformancetroubleshootingusingesxtop 101110131727-phpapp02Advancedperformancetroubleshootingusingesxtop 101110131727-phpapp02
Advancedperformancetroubleshootingusingesxtop 101110131727-phpapp02Suresh Kumar
 
VMworld 2017 vSAN Network Design
VMworld 2017 vSAN Network Design VMworld 2017 vSAN Network Design
VMworld 2017 vSAN Network Design Cormac Hogan
 
VMworld 2017 Core Storage
VMworld 2017 Core StorageVMworld 2017 Core Storage
VMworld 2017 Core StorageCormac Hogan
 

Destacado (12)

VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
Linux On V Mware ESXi
Linux On V Mware ESXiLinux On V Mware ESXi
Linux On V Mware ESXi
 
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep Dive
 
ESX performance problems 10 steps
ESX performance problems 10 stepsESX performance problems 10 steps
ESX performance problems 10 steps
 
Advancedtroubleshooting 101208145718-phpapp01
Advancedtroubleshooting 101208145718-phpapp01Advancedtroubleshooting 101208145718-phpapp01
Advancedtroubleshooting 101208145718-phpapp01
 
VMworld 2017 - Top 10 things to know about vSAN
VMworld 2017 - Top 10 things to know about vSANVMworld 2017 - Top 10 things to know about vSAN
VMworld 2017 - Top 10 things to know about vSAN
 
Advancedperformancetroubleshootingusingesxtop 101110131727-phpapp02
Advancedperformancetroubleshootingusingesxtop 101110131727-phpapp02Advancedperformancetroubleshootingusingesxtop 101110131727-phpapp02
Advancedperformancetroubleshootingusingesxtop 101110131727-phpapp02
 
Top ESXi command line v2.0
Top ESXi command line v2.0Top ESXi command line v2.0
Top ESXi command line v2.0
 
VMworld 2017 vSAN Network Design
VMworld 2017 vSAN Network Design VMworld 2017 vSAN Network Design
VMworld 2017 vSAN Network Design
 
VMworld 2017 Core Storage
VMworld 2017 Core StorageVMworld 2017 Core Storage
VMworld 2017 Core Storage
 

Similar a 01 t1 s2_linux_lesson1

User administration concepts and mechanisms
User administration concepts and mechanismsUser administration concepts and mechanisms
User administration concepts and mechanismsDuressa Teshome
 
02 t1 s2_linux_lesson2
02 t1 s2_linux_lesson202 t1 s2_linux_lesson2
02 t1 s2_linux_lesson2Niit Care
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.pptjeronimored
 
Introduction to Unix-like systems (Part I-IV)
Introduction to Unix-like systems (Part I-IV)Introduction to Unix-like systems (Part I-IV)
Introduction to Unix-like systems (Part I-IV)hildenjohannes
 
UNIT II-Programming in Linux
UNIT II-Programming in LinuxUNIT II-Programming in Linux
UNIT II-Programming in LinuxDr.YNM
 
Linux for beginners
Linux for beginnersLinux for beginners
Linux for beginnersNitesh Nayal
 
Network and System Administration Power Point
Network and System Administration Power PointNetwork and System Administration Power Point
Network and System Administration Power Pointkemal678348
 
chapter 3 linux-lecture.ppt
chapter 3 linux-lecture.pptchapter 3 linux-lecture.ppt
chapter 3 linux-lecture.pptanwarkade1
 
Introduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUXIntroduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUXDeeksha Verma
 
chapter-1-introduction-to-linux.ppt
chapter-1-introduction-to-linux.pptchapter-1-introduction-to-linux.ppt
chapter-1-introduction-to-linux.pptshivushivu20
 

Similar a 01 t1 s2_linux_lesson1 (20)

User administration concepts and mechanisms
User administration concepts and mechanismsUser administration concepts and mechanisms
User administration concepts and mechanisms
 
Module1
Module1Module1
Module1
 
02 t1 s2_linux_lesson2
02 t1 s2_linux_lesson202 t1 s2_linux_lesson2
02 t1 s2_linux_lesson2
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.ppt
 
Linux introduction (eng)
Linux introduction (eng)Linux introduction (eng)
Linux introduction (eng)
 
Intro to linux
Intro to linuxIntro to linux
Intro to linux
 
Linux
LinuxLinux
Linux
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentals
 
Introduction to Linux
Introduction to LinuxIntroduction to Linux
Introduction to Linux
 
Introduction to Unix-like systems (Part I-IV)
Introduction to Unix-like systems (Part I-IV)Introduction to Unix-like systems (Part I-IV)
Introduction to Unix-like systems (Part I-IV)
 
UNIT II-Programming in Linux
UNIT II-Programming in LinuxUNIT II-Programming in Linux
UNIT II-Programming in Linux
 
Linux for beginners
Linux for beginnersLinux for beginners
Linux for beginners
 
Introduce to linux
Introduce to linuxIntroduce to linux
Introduce to linux
 
Network and System Administration Power Point
Network and System Administration Power PointNetwork and System Administration Power Point
Network and System Administration Power Point
 
3CS LSP UNIT 1-1.pdf
3CS LSP UNIT 1-1.pdf3CS LSP UNIT 1-1.pdf
3CS LSP UNIT 1-1.pdf
 
Introduction to Unix
Introduction to UnixIntroduction to Unix
Introduction to Unix
 
chapter 3 linux-lecture.ppt
chapter 3 linux-lecture.pptchapter 3 linux-lecture.ppt
chapter 3 linux-lecture.ppt
 
Introduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUXIntroduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUX
 
Command Line Interpreter
Command Line InterpreterCommand Line Interpreter
Command Line Interpreter
 
chapter-1-introduction-to-linux.ppt
chapter-1-introduction-to-linux.pptchapter-1-introduction-to-linux.ppt
chapter-1-introduction-to-linux.ppt
 

Más de Niit Care (20)

Ajs 1 b
Ajs 1 bAjs 1 b
Ajs 1 b
 
Ajs 4 b
Ajs 4 bAjs 4 b
Ajs 4 b
 
Ajs 4 a
Ajs 4 aAjs 4 a
Ajs 4 a
 
Ajs 4 c
Ajs 4 cAjs 4 c
Ajs 4 c
 
Ajs 3 b
Ajs 3 bAjs 3 b
Ajs 3 b
 
Ajs 3 a
Ajs 3 aAjs 3 a
Ajs 3 a
 
Ajs 3 c
Ajs 3 cAjs 3 c
Ajs 3 c
 
Ajs 2 b
Ajs 2 bAjs 2 b
Ajs 2 b
 
Ajs 2 a
Ajs 2 aAjs 2 a
Ajs 2 a
 
Ajs 2 c
Ajs 2 cAjs 2 c
Ajs 2 c
 
Ajs 1 a
Ajs 1 aAjs 1 a
Ajs 1 a
 
Ajs 1 c
Ajs 1 cAjs 1 c
Ajs 1 c
 
Dacj 4 2-c
Dacj 4 2-cDacj 4 2-c
Dacj 4 2-c
 
Dacj 4 2-b
Dacj 4 2-bDacj 4 2-b
Dacj 4 2-b
 
Dacj 4 2-a
Dacj 4 2-aDacj 4 2-a
Dacj 4 2-a
 
Dacj 4 1-c
Dacj 4 1-cDacj 4 1-c
Dacj 4 1-c
 
Dacj 4 1-b
Dacj 4 1-bDacj 4 1-b
Dacj 4 1-b
 
Dacj 4 1-a
Dacj 4 1-aDacj 4 1-a
Dacj 4 1-a
 
Dacj 1-2 b
Dacj 1-2 bDacj 1-2 b
Dacj 1-2 b
 
Dacj 1-3 c
Dacj 1-3 cDacj 1-3 c
Dacj 1-3 c
 

Último

Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 

Último (20)

Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 

01 t1 s2_linux_lesson1

  • 1. Introduction to the Linux Operating System Objectives In this lesson, you will learn to: Identify the functions of an operating system Differentiate between single-user and multi-user operating systems Identify the inception, growth, features, and architecture of Linux Identify the various shells available in Linux Start a Linux session List the users who are currently logged in ©NIIT Linux/Lesson 1/Slide 1 of 32
  • 2. Introduction to the Linux Operating System Objectives(contd.) Assign passwords to a Linux user using the passwd command End a Linux session Identify the features of the Linux filesystem Create a directory using the mkdir command Delete a directory using the rmdir command List the contents of a directory using the ls command Copy a file using the cp command ©NIIT Linux/Lesson 1/Slide 2 of 32
  • 3. Introduction to the Linux Operating System Objectives(contd.) Move a file using the mv command Delete a file using the rm command Use man command to get online help ©NIIT Linux/Lesson 1/Slide 3 of 32
  • 4. Introduction to the Linux Operating System Getting Started Operating Systems An operating system (OS) is a software program that acts as an interface between a user and a computer, e.g Linux, Unix, Microsoft DOS etc Functions of an Operating System Command Interpretation Process Management Memory Management I/O Operations and Peripheral Management File management ©NIIT Linux/Lesson 1/Slide 4 of 32
  • 5. Introduction to the Linux Operating System Getting Started(contd.) Types Of Systems Single-User Systems ®A single-user system was designed for use by one person at a time. A personal computer (PC) is a popular single-user system Single–User Operating Systems ® MSDOS (Disk Operating System) is an example of a single-user operating system ©NIIT Linux/Lesson 1/Slide 5 of 32
  • 6. Introduction to the Linux Operating System Getting Started(contd.) Types Of Systems(contd.) Multi-User Systems ® More than one user can work simultaneously on a multi-user system Printer Communication Lines Multi-user System System Unit -Processor -Disk(s) -Tape(s) -Floppy Disk(s) Graphical or text Remote User System Console Terminals Terminals ©NIIT Linux/Lesson 1/Slide 6 of 32
  • 7. Introduction to the Linux Operating System Getting Started(contd.) Types Of Systems(contd.) Multi–User Operating Systems ® Linux, Unix, and Windows NT Terminal Server are examples of multi-user operating systems ® Morethan one user can connect to the system and work concurrently at any point in time ©NIIT Linux/Lesson 1/Slide 7 of 32
  • 8. Introduction to the Linux Operating System Flavours of Linux Distributor Name Website Red Hat http://www.redhat.com Caldera http://www.caldera.com Mandrake http://www.linux-mandrake.com Debian http://www.debian.org SuSE http://www.suse.com Slackware http://www.slackware.com ©NIIT Linux/Lesson 1/Slide 8 of 32
  • 9. Introduction to the Linux Operating System The Linux Architecture The Linux operating system consists of the following: Kernel Shell Utilities and Application Programs ©NIIT Linux/Lesson 1/Slide 9 of 32
  • 10. Introduction to the Linux Operating System Shells Available in Linux Bourne Shell (sh) C Shell (csh) Korn Shell (ksh) Restricted Shell (rsh) Bash Shell (bash) Tcsh Shell (tcsh) A Shell (ash) Z Shell (zsh) ©NIIT Linux/Lesson 1/Slide 10 of 32
  • 11. Introduction to the Linux Operating System Starting a Linux Session: Logging on Connect to a computer running the Linux operating system from any other computer using the telnet program telnet hostname or IP address The administrator assigns each user a HOME directory when a new logon account is created. When you log on, you are taken directly to your HOME directory ©NIIT Linux/Lesson 1/Slide 11 of 32
  • 12. Introduction to the Linux Operating System Listing the Users Currently Logged In A list of users who are currently logged in can be found by using the who command who [options] ©NIIT Linux/Lesson 1/Slide 12 of 32
  • 13. Introduction to the Linux Operating System Security for the Users: Passwords Linux provides an additional measure of security by allowing you to have a password associated with your login name The combination of the login name and password is checked by Linux to verify if it is an authorized user Changing the User Password Passwords can be changed using the passwd command The passwd command asks for the old password to ensure that only the authorized user is trying to change the password ©NIIT Linux/Lesson 1/Slide 13 of 32
  • 14. Introduction to the Linux Operating System Root user: The root user (also known as the superuser) is the administrator of the Linux operating system Ending a Linux Session: Logging out Typing exit or logout at the command prompt ends your current Linux session. You can also press CTRL+d to end the Linux session ©NIIT Linux/Lesson 1/Slide 14 of 32
  • 15. Introduction to the Linux Operating System The Linux Filesystem / bin boot home etc usr dev cat cp ch ls m tom michael user3 od Desktop Templates pr pr og og ra ra m m 1 2 Legend De St fa ar Directory ul t t File ©NIIT Linux/Lesson 1/Slide 15 of 32
  • 16. Introduction to the Linux Operating System The Linux Filesystem (contd.) The /bin directory stores many utilities of Linux The /dev directory stores all the device-related files for the system The /etc directory stores the operating system-related data which users and the operating system need to refer to, such as the passwd file The /lib directory contains libraries of data for the compilers installed in the Linux operating system, for example, the C language routines The /home directory generally contains all the HOME directories of users ©NIIT Linux/Lesson 1/Slide 16 of 32
  • 17. Introduction to the Linux Operating System The Linux Filesystem (contd.) The /usr directory stores the operating system files that are not involved in the boot process The /var directory has information specific to different utilities of Linux ©NIIT Linux/Lesson 1/Slide 17 of 32
  • 18. Introduction to the Linux Operating System In Linux, File Names: Can be up to 256 characters long Can contain special characters, except for ‘/’ Can contain both uppercase and lowercase letters of alphabets Are case-sensitive Should not have a blank or a tab ©NIIT Linux/Lesson 1/Slide 18 of 32
  • 19. Introduction to the Linux Operating System Types of Files in Linux File Types Ordinary files Directory files Special files Character Block Hard links Symbolic Device files Device files links ©NIIT Linux/Lesson 1/Slide 19 of 32
  • 20. Introduction to the Linux Operating System Types of Users in Linux System Administrator A System Administrator (SA) is primarily responsible for the smooth operation of the Linux operating system File Owner The user who creates a file is said to be its owner Group Owner A group of users is also given a name, just as a user is given a name Other Users These are users who do not belong to a particular group ©NIIT Linux/Lesson 1/Slide 20 of 32
  • 21. Introduction to the Linux Operating System Directory Commands in Linux Identifying the Current Directory Path The pwd (print working directory) command is used to display the full path name of the current directory Changing the Current Directory The cd (change directory) command changes the current directory to the directory specified Creating a Directory The mkdir (make directory) command is used to create directories ©NIIT Linux/Lesson 1/Slide 21 of 32
  • 22. Introduction to the Linux Operating System Directory Commands in Linux (contd.) Removing a Directory The rmdir (remove directory) command removes the directory specified Listing the Contents of a Directory The ls command is used to display the names of the files and sub-directories in a directory ©NIIT Linux/Lesson 1/Slide 22 of 32
  • 23. Introduction to the Linux Operating System File Commands in Linux The cat (concatenate) command displays the contents of the specified file Copying Files The cp (copy) command duplicates the contents of the source file into a target file cp [options] source file/s destination directory/file Removing Files The rm (remove) command is used to delete files or directories rm [options] file/s ©NIIT Linux/Lesson 1/Slide 23 of 32
  • 24. Introduction to the Linux Operating System File Commands in Linux (contd.) Moving and Renaming Files The mv (move) command is used to move a file or directory from one location to another or to change its name mv [option] source destination Displaying the Contents Page–Wise The more command is used to display data one screen-full at a time. While viewing a file using the more command, once you have scrolled down, you cannot move up more [options] filename ©NIIT Linux/Lesson 1/Slide 24 of 32
  • 25. Introduction to the Linux Operating System File Commands in Linux (contd.) Displaying the Contents Page–Wise (contd.) The less command is similar to the more command except that you can scroll upwards also while viewing the contents of a file less [options] filename Wildcard Characters The shell offers the facility to perform an operation on a set of files by the use of certain special characters in the command in place of the actual file names ©NIIT Linux/Lesson 1/Slide 25 of 32
  • 26. Introduction to the Linux Operating System File Commands in Linux (contd.) Wildcard Characters (contd.) The * Wildcard The * wildcard is interpreted as a string of none, one, or more characters The ? Wildcard The ? wildcard matches exactly one occurrence of any character The [ ] Wildcard The [ ] wildcard can be used to restrict the characters to be matched ©NIIT Linux/Lesson 1/Slide 26 of 32
  • 27. Introduction to the Linux Operating System Getting Online Help The man command is used to get online help to a user about the various options for any command in Linux man command name ©NIIT Linux/Lesson 1/Slide 27 of 32
  • 28. Introduction to the Linux Operating System Summary In this lesson you learned that: An operating system has the following functions: Command Interpretation Process Management Memory Management I/O Operations and Peripheral Management File Management A single-user system is designed for use by one person at a time More than one user can work simultaneously on a multi-user system ©NIIT Linux/Lesson 1/Slide 28 of 32
  • 29. Introduction to the Linux Operating System Summary(contd.) The Linux operating system consists of kernel, shell, utilities, and application programs Some of the commonly available shells in Linux along with their executable file names are: The Bourne shell (sh) the C shell (csh) The Korn shell (ksh) The Restricted shell (rsh) The Bash shell (bash) The Tcsh shell (csh/tcsh) ©NIIT Linux/Lesson 1/Slide 29 of 32
  • 30. Introduction to the Linux Operating System Summary(contd.) The A shell (ash) The Z shell (zsh) The telnet command is used to connect to a Linux server The passwd command is used to change the password of the user For organizing data on the disk, Linux provides a filesystem which allows you to group files in a convenient manner. The Linux filesystem has a hierarchical structure and files can be stored under directories ©NIIT Linux/Lesson 1/Slide 30 of 32
  • 31. Introduction to the Linux Operating System Summary(contd.) In Linux, there are three categories of files: Ordinary files Directory files Special files The types of users in Linux are: System Administrator File owner Group owner Other users ©NIIT Linux/Lesson 1/Slide 31 of 32
  • 32. Introduction to the Linux Operating System Summary(contd.) In Linux, chat and e-mail programs are used to communicate with each other.  ©NIIT Linux/Lesson 1/Slide 32 of 32