SlideShare a Scribd company logo
ACE Course CT01558
Linux Introduction
Linux GUI & Command Tools
 X, DM, KDE and GNOME
 Other X Graphical User Interfaces
 Command Line Tools
 Shells, bash options, shell scripts
 Basic administration
Linux#3 - Commands 2
Agenda
8/29/2013
 X11, or “X Window System” is the a distributed
client/server software as well as protocol
 http://en.wikipedia.org/wiki/X_server
 Display Manager
 Controls WHO logs into display
 If GUI crashes, it restarts itself again!
 In most distributions, you can’t login as root to DM
 Each GUI has its version: KDM, GDM, MDM, …
8/29/2013Linux#3 - Commands 3
X & Display Managers
 Controls the placement & appearance of application
windows (frames, titles, icons)
 Metacity in GNOME
 KWin in KDE
 Xfwm in Xfce
8/29/2013Linux#3 - Commands 4
Window Managers
 Provide additional functionality to GUI with:
 Control panel
 cut & paste
 trash can
 file manager
 multimedia tools, music & wallpapers!
 notepad, calendar, calculator
 shared libraries for those programs
8/29/2013Linux#3 - Commands 5
Desktop Environments (DE)
 Most Popular Desktop Environments are:
 KDE http://kde.org/
 GNOME http://www.gnome.org/
 Xfce http://xfce.org/
 Much more exist!
 Common Desktop Environment (CDE)
8/29/2013Linux#3 - Commands 6
Linux Desktop Environments
7
Basic Linux Usage
Accessing a terminal in a GUI environment
 Graphical interface
 Start GUI environment on top of BASH shell
 Or, switch to a graphical terminal
e.g., GNOME Display Manager (gdm)
Graphical Interface
Shells, Terminals, and the Kernel
 From the local server, use key combinations to change to
separate terminal
 Command-line terminal may be accessed from GUI
environment
 Command line prompt:
 Root user: #
 Regular user: $
 Commands: indicate name of program to execute
 Case sensitive
 Options: specific letters starting with “-” appearing
after command name
 Alter way command works
 Arguments: specify a command’s specific working
parameters
Basic Shell Commands
 ls command: List the files in a directory
 May pass an argument indicating the directory to be
listed
 –F option: Argument to indicate file types
 –l option: Argument to list long file listings
Linux+ Guide to Linux Certification, 3ed 11
Listing Files
Basic Shell Commands (continued)
Some common Linux commands
Shell Metacharacters
 Metacharacters: characters with
a special meaning
 e.g., $
 Refers to a variable
 Avoid use of metacharacters
when typing commands unless
using their special functionality
 Single quotation marks ‘ ’ protect
metacharacters from being
interpreted specially by the shell
 A shell script is a script written for the shell
 Operations: backups, file manipulation, program
execution, and printing text
 A script needs to be “flagged” as an executable “x”
with the chmod command
 If you are running a script from current directory it
needs to be preceded by “./”
Shell Scripts
Getting Command Help
 Manual (man) pages: most common form of
documentation for Linux commands
 type “man” followed by command name
 contains different sections
 Searchable by keyword
 Info pages: set of local, easy-to-read command syntax
documentation
 type “info” followed by a command name
 Start/Stop/Reboot Server
 Backup critical or User files
 Install NEW software or services
 Update EXISTING software
 Add/Remove users
 Troubleshoot
8/29/2013Linux#3 - Commands 16
Basic Administration
Linux#3 - Commands 17
System Stop or Reboot
 To reboot:
 shutdown –r
 reboot
 init 6
 To halt:
 shutdown –s
 halt
 init 0
 You must be administrator!
8/29/2013
 Adds
functionality to
your system,
example:
install LibreOffice
or MySQL
 From Command
line mode:
 sudo apt-get
mysql
8/29/2013Linux#3 - Commands 18
Install Software
 Keeps your
system safe and
bug-free
 From Command
line mode:
 sudo apt-get
update
8/29/2013Linux#3 - Commands 19
Update Software
Linux#3 - Commands 20
Monitoring & Process Control
 top – displays top processes
 uptime + ps = w
 ps ax – list of all running processes
 nice PID priority – changes priority level
 Default priority is 10, it can be changed
 from -20 (highest priority) to 19 (lowest)
 kill –signal PID
 killall process
8/29/2013
 useradd <username>
 passwd <username> //changes password for a user
 userdel <username>
8/29/2013Linux#3 - Commands 21
User Maintenance
 Installation Fails
 Server crashes
 Service(s) not running
 Read LOGS! /var/log/messages
 Restart in single user mode [init S]
 Check file system for errors
8/29/2013Linux#3 - Commands 22
Troubleshooting
 KDE and GNOME
 Other X Graphical User Interfaces
 Command Line Tools
 Shells, bash options, shell scripts
 Basic administration
Linux#3 - Commands 23
Summary
8/29/2013
Questions???

More Related Content

What's hot

What's hot (20)

ITFT - DOS - Disk Operating System
ITFT - DOS - Disk Operating SystemITFT - DOS - Disk Operating System
ITFT - DOS - Disk Operating System
 
Introduction to unix
Introduction to unixIntroduction to unix
Introduction to unix
 
Dos commad. by ammar nawab ppt
Dos commad. by ammar nawab pptDos commad. by ammar nawab ppt
Dos commad. by ammar nawab ppt
 
Ms dos tutorial
Ms dos tutorialMs dos tutorial
Ms dos tutorial
 
Dos ckass nots
Dos ckass notsDos ckass nots
Dos ckass nots
 
Batch file programming
Batch file programmingBatch file programming
Batch file programming
 
Disk Operating systems
Disk Operating systemsDisk Operating systems
Disk Operating systems
 
Disk operating system
Disk operating systemDisk operating system
Disk operating system
 
Unix fundamentals
Unix fundamentalsUnix fundamentals
Unix fundamentals
 
Unix ppt
Unix pptUnix ppt
Unix ppt
 
Ms dos
Ms dosMs dos
Ms dos
 
Dos command for hackers
Dos command for hackersDos command for hackers
Dos command for hackers
 
Unix Command Line Productivity Tips
Unix Command Line Productivity TipsUnix Command Line Productivity Tips
Unix Command Line Productivity Tips
 
LINUX System Call Quick Reference
LINUX System Call Quick ReferenceLINUX System Call Quick Reference
LINUX System Call Quick Reference
 
Linux introductory-course-day-1
Linux introductory-course-day-1Linux introductory-course-day-1
Linux introductory-course-day-1
 
Disk operating system
Disk operating systemDisk operating system
Disk operating system
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Dos commands
Dos commandsDos commands
Dos commands
 
Ms DOS
Ms DOSMs DOS
Ms DOS
 
Lect basic computer
Lect basic computer Lect basic computer
Lect basic computer
 

Similar to Linux introduction Class 03

Introduction to Unix
Introduction to UnixIntroduction to Unix
Introduction to UnixSudharsan S
 
Useful Linux and Unix commands handbook
Useful Linux and Unix commands handbookUseful Linux and Unix commands handbook
Useful Linux and Unix commands handbookWave Digitech
 
Linux Systems Programming: Ubuntu Installation and Configuration
Linux Systems Programming: Ubuntu Installation and ConfigurationLinux Systems Programming: Ubuntu Installation and Configuration
Linux Systems Programming: Ubuntu Installation and ConfigurationRashidFaridChishti
 
Introduction 2 linux
Introduction 2 linuxIntroduction 2 linux
Introduction 2 linuxPapu Kumar
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administrationharirxg
 
Linux Administration
Linux AdministrationLinux Administration
Linux AdministrationHarish1983
 
Linux for beginners
Linux for beginnersLinux for beginners
Linux for beginnersNitesh Nayal
 
18 LINUX OS.pptx Linux command is basic isma
18 LINUX OS.pptx Linux command is basic isma18 LINUX OS.pptx Linux command is basic isma
18 LINUX OS.pptx Linux command is basic ismaperweeng31
 
LINUX
LINUXLINUX
LINUXARJUN
 
Introduction to Linux
Introduction to Linux Introduction to Linux
Introduction to Linux Harish R
 
User and Operating-System Interface We mentioned earlier that there ar.docx
User and Operating-System Interface We mentioned earlier that there ar.docxUser and Operating-System Interface We mentioned earlier that there ar.docx
User and Operating-System Interface We mentioned earlier that there ar.docxStewartyUMGlovern
 
Basics of Linux Commands, Git and Github
Basics of Linux Commands, Git and GithubBasics of Linux Commands, Git and Github
Basics of Linux Commands, Git and GithubDevang Garach
 
Unix_Introduction_BCA.pptx the very basi
Unix_Introduction_BCA.pptx the very basiUnix_Introduction_BCA.pptx the very basi
Unix_Introduction_BCA.pptx the very basiPriyadarshini648418
 

Similar to Linux introduction Class 03 (20)

Introduction to Unix
Introduction to UnixIntroduction to Unix
Introduction to Unix
 
Useful Linux and Unix commands handbook
Useful Linux and Unix commands handbookUseful Linux and Unix commands handbook
Useful Linux and Unix commands handbook
 
Linux Systems Programming: Ubuntu Installation and Configuration
Linux Systems Programming: Ubuntu Installation and ConfigurationLinux Systems Programming: Ubuntu Installation and Configuration
Linux Systems Programming: Ubuntu Installation and Configuration
 
Linuxs1
Linuxs1Linuxs1
Linuxs1
 
Linux
LinuxLinux
Linux
 
Introduction 2 linux
Introduction 2 linuxIntroduction 2 linux
Introduction 2 linux
 
3. intro
3. intro3. intro
3. intro
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
Linux for beginners
Linux for beginnersLinux for beginners
Linux for beginners
 
cisco
ciscocisco
cisco
 
18 LINUX OS.pptx Linux command is basic isma
18 LINUX OS.pptx Linux command is basic isma18 LINUX OS.pptx Linux command is basic isma
18 LINUX OS.pptx Linux command is basic isma
 
LINUX
LINUXLINUX
LINUX
 
Introduction to Linux
Introduction to Linux Introduction to Linux
Introduction to Linux
 
User and Operating-System Interface We mentioned earlier that there ar.docx
User and Operating-System Interface We mentioned earlier that there ar.docxUser and Operating-System Interface We mentioned earlier that there ar.docx
User and Operating-System Interface We mentioned earlier that there ar.docx
 
Nithi
NithiNithi
Nithi
 
Linux
LinuxLinux
Linux
 
Basics of Linux Commands, Git and Github
Basics of Linux Commands, Git and GithubBasics of Linux Commands, Git and Github
Basics of Linux Commands, Git and Github
 
Unix_Introduction_BCA.pptx the very basi
Unix_Introduction_BCA.pptx the very basiUnix_Introduction_BCA.pptx the very basi
Unix_Introduction_BCA.pptx the very basi
 
Linux Basics.pptx
Linux Basics.pptxLinux Basics.pptx
Linux Basics.pptx
 

More from Adrian Mikeliunas

Office Hour Week 14 Adrian.pptx
Office Hour Week 14 Adrian.pptxOffice Hour Week 14 Adrian.pptx
Office Hour Week 14 Adrian.pptxAdrian Mikeliunas
 
CISSP introduction 2016 Udemy Course
CISSP introduction 2016 Udemy CourseCISSP introduction 2016 Udemy Course
CISSP introduction 2016 Udemy CourseAdrian Mikeliunas
 
Introduction to WordPress Class 6
Introduction to WordPress Class 6Introduction to WordPress Class 6
Introduction to WordPress Class 6Adrian Mikeliunas
 
Introduction to WordPress Class 5
Introduction to WordPress Class 5Introduction to WordPress Class 5
Introduction to WordPress Class 5Adrian Mikeliunas
 
Introduction to WordPress Class 4
Introduction to WordPress Class 4Introduction to WordPress Class 4
Introduction to WordPress Class 4Adrian Mikeliunas
 
Introduction to WordPress Class 3
Introduction to WordPress Class 3Introduction to WordPress Class 3
Introduction to WordPress Class 3Adrian Mikeliunas
 
Introduction to WordPress Class 2
Introduction to WordPress Class 2Introduction to WordPress Class 2
Introduction to WordPress Class 2Adrian Mikeliunas
 
Genymotion Android fast development
Genymotion Android fast development Genymotion Android fast development
Genymotion Android fast development Adrian Mikeliunas
 
Cómo usar la tecnología para generar más Seguridad y desarrollo local
Cómo usar la tecnología para generar más Seguridad y desarrollo localCómo usar la tecnología para generar más Seguridad y desarrollo local
Cómo usar la tecnología para generar más Seguridad y desarrollo localAdrian Mikeliunas
 
Introduction to WordPress Class 1
Introduction to WordPress Class 1Introduction to WordPress Class 1
Introduction to WordPress Class 1Adrian Mikeliunas
 
Ii 1500-publishing your android application
Ii 1500-publishing your android applicationIi 1500-publishing your android application
Ii 1500-publishing your android applicationAdrian Mikeliunas
 
Ii 1300-java essentials for android
Ii 1300-java essentials for androidIi 1300-java essentials for android
Ii 1300-java essentials for androidAdrian Mikeliunas
 
Ii 1100-android development for fun and profit
Ii 1100-android development for fun and profitIi 1100-android development for fun and profit
Ii 1100-android development for fun and profitAdrian Mikeliunas
 
Cyber Security At The Cinema
Cyber Security At The CinemaCyber Security At The Cinema
Cyber Security At The CinemaAdrian Mikeliunas
 

More from Adrian Mikeliunas (18)

Office Hour Week 14 Adrian.pptx
Office Hour Week 14 Adrian.pptxOffice Hour Week 14 Adrian.pptx
Office Hour Week 14 Adrian.pptx
 
WordPress Security 2018
WordPress Security 2018WordPress Security 2018
WordPress Security 2018
 
CISSP introduction 2016 Udemy Course
CISSP introduction 2016 Udemy CourseCISSP introduction 2016 Udemy Course
CISSP introduction 2016 Udemy Course
 
Introduction to WordPress Class 6
Introduction to WordPress Class 6Introduction to WordPress Class 6
Introduction to WordPress Class 6
 
Introduction to WordPress Class 5
Introduction to WordPress Class 5Introduction to WordPress Class 5
Introduction to WordPress Class 5
 
Introduction to WordPress Class 4
Introduction to WordPress Class 4Introduction to WordPress Class 4
Introduction to WordPress Class 4
 
Introduction to WordPress Class 3
Introduction to WordPress Class 3Introduction to WordPress Class 3
Introduction to WordPress Class 3
 
Introduction to WordPress Class 2
Introduction to WordPress Class 2Introduction to WordPress Class 2
Introduction to WordPress Class 2
 
Genymotion Android fast development
Genymotion Android fast development Genymotion Android fast development
Genymotion Android fast development
 
Cómo usar la tecnología para generar más Seguridad y desarrollo local
Cómo usar la tecnología para generar más Seguridad y desarrollo localCómo usar la tecnología para generar más Seguridad y desarrollo local
Cómo usar la tecnología para generar más Seguridad y desarrollo local
 
Linux introduction Class 02
Linux introduction Class 02Linux introduction Class 02
Linux introduction Class 02
 
Linux introduction, class 1
Linux introduction, class 1Linux introduction, class 1
Linux introduction, class 1
 
Introduction to WordPress Class 1
Introduction to WordPress Class 1Introduction to WordPress Class 1
Introduction to WordPress Class 1
 
Task deck
Task deckTask deck
Task deck
 
Ii 1500-publishing your android application
Ii 1500-publishing your android applicationIi 1500-publishing your android application
Ii 1500-publishing your android application
 
Ii 1300-java essentials for android
Ii 1300-java essentials for androidIi 1300-java essentials for android
Ii 1300-java essentials for android
 
Ii 1100-android development for fun and profit
Ii 1100-android development for fun and profitIi 1100-android development for fun and profit
Ii 1100-android development for fun and profit
 
Cyber Security At The Cinema
Cyber Security At The CinemaCyber Security At The Cinema
Cyber Security At The Cinema
 

Recently uploaded

Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Shahin Sheidaei
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Anthony Dahanne
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...Alluxio, Inc.
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfOrtus Solutions, Corp
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyanic lab
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessWSO2
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamtakuyayamamoto1800
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisNeo4j
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesKrzysztofKkol1
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns
 
AI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAlluxio, Inc.
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowPeter Caitens
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAlluxio, Inc.
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...rajkumar669520
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownloadvrstrong314
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAlluxio, Inc.
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfkalichargn70th171
 

Recently uploaded (20)

Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysis
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
AI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in Michelangelo
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning Framework
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
 

Linux introduction Class 03

  • 1. ACE Course CT01558 Linux Introduction Linux GUI & Command Tools
  • 2.  X, DM, KDE and GNOME  Other X Graphical User Interfaces  Command Line Tools  Shells, bash options, shell scripts  Basic administration Linux#3 - Commands 2 Agenda 8/29/2013
  • 3.  X11, or “X Window System” is the a distributed client/server software as well as protocol  http://en.wikipedia.org/wiki/X_server  Display Manager  Controls WHO logs into display  If GUI crashes, it restarts itself again!  In most distributions, you can’t login as root to DM  Each GUI has its version: KDM, GDM, MDM, … 8/29/2013Linux#3 - Commands 3 X & Display Managers
  • 4.  Controls the placement & appearance of application windows (frames, titles, icons)  Metacity in GNOME  KWin in KDE  Xfwm in Xfce 8/29/2013Linux#3 - Commands 4 Window Managers
  • 5.  Provide additional functionality to GUI with:  Control panel  cut & paste  trash can  file manager  multimedia tools, music & wallpapers!  notepad, calendar, calculator  shared libraries for those programs 8/29/2013Linux#3 - Commands 5 Desktop Environments (DE)
  • 6.  Most Popular Desktop Environments are:  KDE http://kde.org/  GNOME http://www.gnome.org/  Xfce http://xfce.org/  Much more exist!  Common Desktop Environment (CDE) 8/29/2013Linux#3 - Commands 6 Linux Desktop Environments
  • 7. 7 Basic Linux Usage Accessing a terminal in a GUI environment
  • 8.  Graphical interface  Start GUI environment on top of BASH shell  Or, switch to a graphical terminal e.g., GNOME Display Manager (gdm) Graphical Interface
  • 9. Shells, Terminals, and the Kernel  From the local server, use key combinations to change to separate terminal  Command-line terminal may be accessed from GUI environment  Command line prompt:  Root user: #  Regular user: $
  • 10.  Commands: indicate name of program to execute  Case sensitive  Options: specific letters starting with “-” appearing after command name  Alter way command works  Arguments: specify a command’s specific working parameters Basic Shell Commands
  • 11.  ls command: List the files in a directory  May pass an argument indicating the directory to be listed  –F option: Argument to indicate file types  –l option: Argument to list long file listings Linux+ Guide to Linux Certification, 3ed 11 Listing Files
  • 12. Basic Shell Commands (continued) Some common Linux commands
  • 13. Shell Metacharacters  Metacharacters: characters with a special meaning  e.g., $  Refers to a variable  Avoid use of metacharacters when typing commands unless using their special functionality  Single quotation marks ‘ ’ protect metacharacters from being interpreted specially by the shell
  • 14.  A shell script is a script written for the shell  Operations: backups, file manipulation, program execution, and printing text  A script needs to be “flagged” as an executable “x” with the chmod command  If you are running a script from current directory it needs to be preceded by “./” Shell Scripts
  • 15. Getting Command Help  Manual (man) pages: most common form of documentation for Linux commands  type “man” followed by command name  contains different sections  Searchable by keyword  Info pages: set of local, easy-to-read command syntax documentation  type “info” followed by a command name
  • 16.  Start/Stop/Reboot Server  Backup critical or User files  Install NEW software or services  Update EXISTING software  Add/Remove users  Troubleshoot 8/29/2013Linux#3 - Commands 16 Basic Administration
  • 17. Linux#3 - Commands 17 System Stop or Reboot  To reboot:  shutdown –r  reboot  init 6  To halt:  shutdown –s  halt  init 0  You must be administrator! 8/29/2013
  • 18.  Adds functionality to your system, example: install LibreOffice or MySQL  From Command line mode:  sudo apt-get mysql 8/29/2013Linux#3 - Commands 18 Install Software
  • 19.  Keeps your system safe and bug-free  From Command line mode:  sudo apt-get update 8/29/2013Linux#3 - Commands 19 Update Software
  • 20. Linux#3 - Commands 20 Monitoring & Process Control  top – displays top processes  uptime + ps = w  ps ax – list of all running processes  nice PID priority – changes priority level  Default priority is 10, it can be changed  from -20 (highest priority) to 19 (lowest)  kill –signal PID  killall process 8/29/2013
  • 21.  useradd <username>  passwd <username> //changes password for a user  userdel <username> 8/29/2013Linux#3 - Commands 21 User Maintenance
  • 22.  Installation Fails  Server crashes  Service(s) not running  Read LOGS! /var/log/messages  Restart in single user mode [init S]  Check file system for errors 8/29/2013Linux#3 - Commands 22 Troubleshooting
  • 23.  KDE and GNOME  Other X Graphical User Interfaces  Command Line Tools  Shells, bash options, shell scripts  Basic administration Linux#3 - Commands 23 Summary 8/29/2013