SlideShare una empresa de Scribd logo
1 de 24
Descargar para leer sin conexión
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???

Más contenido relacionado

La actualidad más candente

La actualidad más candente (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 a 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
 
Introduction 2 linux
Introduction 2 linuxIntroduction 2 linux
Introduction 2 linuxPapu Kumar
 
Linux Administration
Linux AdministrationLinux Administration
Linux AdministrationHarish1983
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administrationharirxg
 
Linux for beginners
Linux for beginnersLinux for beginners
Linux for beginnersNitesh Nayal
 
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
 
The structure of Linux - Introduction to Linux for bioinformatics
The structure of Linux - Introduction to Linux for bioinformaticsThe structure of Linux - Introduction to Linux for bioinformatics
The structure of Linux - Introduction to Linux for bioinformaticsBITS
 
Operating System Laboratory presentation .ppt
Operating System Laboratory presentation .pptOperating System Laboratory presentation .ppt
Operating System Laboratory presentation .pptPDhivyabharathi2
 

Similar a 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
 
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
 
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
 
The structure of Linux - Introduction to Linux for bioinformatics
The structure of Linux - Introduction to Linux for bioinformaticsThe structure of Linux - Introduction to Linux for bioinformatics
The structure of Linux - Introduction to Linux for bioinformatics
 
Operating System Laboratory presentation .ppt
Operating System Laboratory presentation .pptOperating System Laboratory presentation .ppt
Operating System Laboratory presentation .ppt
 

Más de 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
 

Más de 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
 

Último

Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...Nitya salvi
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024Mind IT Systems
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationShrmpro
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 

Último (20)

Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 

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