SlideShare a Scribd company logo
Daily Tasks of a Linux Administrator
• Dealing with the black screen (writing scripts) requires a Linux admin to have some
diagnostic and architectural thinking.
• Handling users and their appropriate accounts, security, privileges. In addition to
deactivating “dormant accounts”. Backing up important data: Taking backups on time,
ensuring secure storage of backup files, and making sure the backup media can be
used for a restore, is one of the most vital Linux admin activities.
• Package management: confirming that the OS is up to date, installing any required
security or operating system patches makes a Linux admin’s life a lot easier by
mitigating the risks of system failures or hackers attacks.
What to expect in Linux?
• System checking: a famous saying goes like this “a good system
administrator should not be a fire fighter”. This implies that a Linux admin
should anticipate problems before they happen, instead of waiting for the
failure before dealing with it. Performance analysis and system monitoring is
also an important concepts
• Finding help: an administrator is not expected to be a “walking book”. Linux
has a huge number of commands, with a lot of different options and
arguments. Effectively using the man pages, and figuring out how a specific
command works is an indispensable skill.
Linux Kernels – choosing the right one
• All Linux types have the same kernel. They differ in some additional components,
how they handle specific tasks like software installation and package management,
among other things.
• If you have a look at “Linux Distributions” on Wikipedia
https://en.wikipedia.org/wiki/List_of_Linux_distributions, you will find dozens of
them. A lot of which you may have even not heard of before. This is because Linux
is open source. Which means, anybody can grab a copy of the kernel, change it,
and launch a new flavor.
• The most common Linux you’ll ever be working with is one of the following:
• Red Hat
• Debian
• SUSE
• Choosing among Linux distributions depends on factors like: will my software work
on it?, does the vendor supply patches regularly?, and does the vendor have decent
and fast support?
Help, I’m lost!
• When you’re all by the black screen, you’re only left with the MAN pages.
• Man stands for manual. In it’s simplest form, you just type man command
• It has several sections, for example:
• Commands and applications (man 1)
• System calls (man 2)
• Library calls (man 3)
• Drivers (man 4)
• Files (man 5)
• You can use more or less command shortcuts for navigation
• For example, to view the documentation for smb.conf (SAMBA configuration file), you
use the command man 5 smb.conf. But to learn the various options of the smbclient
command, you use man 1 smblclient
• The section number is automatically determined by man unless there is a title that is
common in two sections. For example, passwd is a command and a file at the same
time.
So to see the file documentation you have to type man 5 passwd.
Help Commands
• When you want to search for a specific man page use the command man – k keyword
• You can also use man –a keyword to display multiple man pages of the topic you want to
search for depending on the section
• Use man –af keyword to search only in the title
• A lot of commands provide help if you type the command alone without arguments or when
you follow it by --help or -h
• f you want to know whether or not a command is installed or want to know it’s path, you type
which command
• As time passes, and new software gets installed, sometimes the man page gets out of date.
• To update them type the following command:
• Red Hat: makewhatis
• Ubuntu, SUSE: mandb
Few Key Linux Commands
• which command: find the path of a command
• history: list the commands that you have issued.
• If you want the commands to contain a time stamp, use the following
environment variable before using history:
• export HISTTIMEFORMAT="%d/%m/%y %T ”
• du: find the amount of space taken by a file or directory
• du –h –max-depth=1 * : find the file and directory sizes in the current
location in a human readable format
• echo > file : empty a file without deleting it
Online Resources
• Of course you cannot find everything you need to learn in the man pages.
• You can consult a number of online sources to get the information you want, among
which are:
• Linux.com
• Kernel.org
• Serverfault.com
 PACKAGE MANAGEMENT
 Scripting AND THE SHELL
 BOOTING AND SHUTTING DOWN
 ACCESS CONTROL AND ROOTLY POWERS
 CONTROLLING PROCESSES
 THE FILESYSTEM
 ADDING NEW USERS
 STORAGE
 PERIODIC PROCESSES
 BACKUPS
 SYSLOG AND LOG FILES
 TCP_IP NETWORKING
 NETFILTER AND IPTABLES THE LINUX FIREWALL
 DNS The DOMAIN NAME SYSTEM
 THE NETWORK FILE SYSTEM
 SHARING FILES WITH WINDOWS (SAMBA)
 ELECTRONIC MAIL
 NETWORK MANAGEMENT AND DEBUGGING
 SECURITY
 SSH TIPS AND TRICKS
Eduonix’s Linux Course – Topics Covered
Eduonix’s complete course on the Linux Operating System covers topics such as package
management, shell scripting guide, user management and so on. Here’s your chance to become a
great Linux programmer for just $10. Use Coupon code: “ OFFER10 ” or click on the link below to
get this course at $10:
https://www.eduonix.com/courses/system-programming/fundamentals-of-unix-and-linux-
system-administration?coupon_code=offer10
Fundamentals of Unix and Linux System Administration
www.eduonix.com

More Related Content

What's hot

Linux server world
Linux server worldLinux server world
Linux server world
Akshat Singh
 
LINUX
LINUXLINUX
LINUX
ARJUN
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentals
Raghu nath
 
LINUX Admin Quick Reference
LINUX Admin Quick ReferenceLINUX Admin Quick Reference
LINUX Admin Quick Reference
wensheng wei
 
Some basic unix commands
Some basic unix commandsSome basic unix commands
Some basic unix commands
aaj_sarkar06
 
Linux or unix interview questions
Linux or unix interview questionsLinux or unix interview questions
Linux or unix interview questions
Teja Bheemanapally
 

What's hot (20)

Linux server world
Linux server worldLinux server world
Linux server world
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)
 
LINUX
LINUXLINUX
LINUX
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Linux basic commands tutorial
Linux basic commands tutorialLinux basic commands tutorial
Linux basic commands tutorial
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentals
 
Unix OS & Commands
Unix OS & CommandsUnix OS & Commands
Unix OS & Commands
 
Linux Command Suumary
Linux Command SuumaryLinux Command Suumary
Linux Command Suumary
 
Linux beginner's Workshop
Linux beginner's WorkshopLinux beginner's Workshop
Linux beginner's Workshop
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Linux practicals T.Y.B.ScIT
Linux practicals T.Y.B.ScITLinux practicals T.Y.B.ScIT
Linux practicals T.Y.B.ScIT
 
LINUX Admin Quick Reference
LINUX Admin Quick ReferenceLINUX Admin Quick Reference
LINUX Admin Quick Reference
 
Some basic unix commands
Some basic unix commandsSome basic unix commands
Some basic unix commands
 
Introduction to Linux
Introduction to Linux Introduction to Linux
Introduction to Linux
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux administration classes in mumbai
Linux administration classes in mumbaiLinux administration classes in mumbai
Linux administration classes in mumbai
 
Linux
Linux Linux
Linux
 
Basic unix commands
Basic unix commandsBasic unix commands
Basic unix commands
 
Linux or unix interview questions
Linux or unix interview questionsLinux or unix interview questions
Linux or unix interview questions
 

Viewers also liked

Linux shell env
Linux shell envLinux shell env
Linux shell env
Rahul Pola
 
RedHat Linux Administrator
RedHat Linux AdministratorRedHat Linux Administrator
RedHat Linux Administrator
sowmya devi
 
Lakhvi's real place the prison
Lakhvi's real place  the prisonLakhvi's real place  the prison
Lakhvi's real place the prison
Rohan Bendre
 
Roadmap monthly newsletter - December 2013
Roadmap monthly newsletter - December 2013Roadmap monthly newsletter - December 2013
Roadmap monthly newsletter - December 2013
Frotcom
 
Sykes research projects
Sykes research projectsSykes research projects
Sykes research projects
sykeshea
 
Formulas 131115120704-phpapp01
Formulas 131115120704-phpapp01Formulas 131115120704-phpapp01
Formulas 131115120704-phpapp01
Nicole Ramon
 
ISOLA MENU' aggiornato a gennaio 2012.docx
ISOLA MENU' aggiornato a gennaio 2012.docxISOLA MENU' aggiornato a gennaio 2012.docx
ISOLA MENU' aggiornato a gennaio 2012.docx
LoveResto
 
Eesti innovatsioonipoliitikast IBM konverents 2011 oktoober Tallinn
Eesti innovatsioonipoliitikast IBM konverents 2011 oktoober TallinnEesti innovatsioonipoliitikast IBM konverents 2011 oktoober Tallinn
Eesti innovatsioonipoliitikast IBM konverents 2011 oktoober Tallinn
Jarmo Tuisk
 

Viewers also liked (20)

Linux Shell Basics
Linux Shell BasicsLinux Shell Basics
Linux Shell Basics
 
Linux shell env
Linux shell envLinux shell env
Linux shell env
 
Getting Started With Linux Administration
Getting Started With Linux AdministrationGetting Started With Linux Administration
Getting Started With Linux Administration
 
RedHat Linux Administrator
RedHat Linux AdministratorRedHat Linux Administrator
RedHat Linux Administrator
 
Prepaid Vs Post-paid Energy
Prepaid Vs Post-paid EnergyPrepaid Vs Post-paid Energy
Prepaid Vs Post-paid Energy
 
10 they overcame by the blood (part 1) slideshow
10 they overcame by the blood (part 1)   slideshow10 they overcame by the blood (part 1)   slideshow
10 they overcame by the blood (part 1) slideshow
 
Bark.mc kee.project.january2012
Bark.mc kee.project.january2012Bark.mc kee.project.january2012
Bark.mc kee.project.january2012
 
Catalog complet La Duchesse
Catalog complet La DuchesseCatalog complet La Duchesse
Catalog complet La Duchesse
 
2.1. Col. Jeffrey Yarvis - Reintegrating Returning Warriors
2.1. Col. Jeffrey Yarvis - Reintegrating Returning Warriors2.1. Col. Jeffrey Yarvis - Reintegrating Returning Warriors
2.1. Col. Jeffrey Yarvis - Reintegrating Returning Warriors
 
Latest IEEE Projects 2012 For IT@ Seabirds ( Trichy, Perambalur, Namakkal, Sa...
Latest IEEE Projects 2012 For IT@ Seabirds ( Trichy, Perambalur, Namakkal, Sa...Latest IEEE Projects 2012 For IT@ Seabirds ( Trichy, Perambalur, Namakkal, Sa...
Latest IEEE Projects 2012 For IT@ Seabirds ( Trichy, Perambalur, Namakkal, Sa...
 
Lakhvi's real place the prison
Lakhvi's real place  the prisonLakhvi's real place  the prison
Lakhvi's real place the prison
 
Roadmap monthly newsletter - December 2013
Roadmap monthly newsletter - December 2013Roadmap monthly newsletter - December 2013
Roadmap monthly newsletter - December 2013
 
Sykes research projects
Sykes research projectsSykes research projects
Sykes research projects
 
Journal le monde et suppl du jeudi 15 septembre 2016
Journal le monde et suppl du jeudi 15 septembre 2016Journal le monde et suppl du jeudi 15 septembre 2016
Journal le monde et suppl du jeudi 15 septembre 2016
 
Тренинг "SaleUp - розничная торговля" день 2
Тренинг "SaleUp - розничная торговля" день 2Тренинг "SaleUp - розничная торговля" день 2
Тренинг "SaleUp - розничная торговля" день 2
 
Formulas 131115120704-phpapp01
Formulas 131115120704-phpapp01Formulas 131115120704-phpapp01
Formulas 131115120704-phpapp01
 
Kosteikko infoa 2012
Kosteikko infoa 2012Kosteikko infoa 2012
Kosteikko infoa 2012
 
ISOLA MENU' aggiornato a gennaio 2012.docx
ISOLA MENU' aggiornato a gennaio 2012.docxISOLA MENU' aggiornato a gennaio 2012.docx
ISOLA MENU' aggiornato a gennaio 2012.docx
 
Eesti innovatsioonipoliitikast IBM konverents 2011 oktoober Tallinn
Eesti innovatsioonipoliitikast IBM konverents 2011 oktoober TallinnEesti innovatsioonipoliitikast IBM konverents 2011 oktoober Tallinn
Eesti innovatsioonipoliitikast IBM konverents 2011 oktoober Tallinn
 
Social media for Business
Social media for BusinessSocial media for Business
Social media for Business
 

Similar to Linux Administrator - The Linux Course on Eduonix

Linuxtraining 130710022121-phpapp01
Linuxtraining 130710022121-phpapp01Linuxtraining 130710022121-phpapp01
Linuxtraining 130710022121-phpapp01
Chander Pandey
 
unixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdfunixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdf
IxtiyorTeshaboyev
 
Online Training in Unix Linux Shell Scripting in Hyderabad
Online Training in Unix Linux Shell Scripting in HyderabadOnline Training in Unix Linux Shell Scripting in Hyderabad
Online Training in Unix Linux Shell Scripting in Hyderabad
Ravikumar Nandigam
 

Similar to Linux Administrator - The Linux Course on Eduonix (20)

Linuxtraining 130710022121-phpapp01
Linuxtraining 130710022121-phpapp01Linuxtraining 130710022121-phpapp01
Linuxtraining 130710022121-phpapp01
 
UNIX/Linux training
UNIX/Linux trainingUNIX/Linux training
UNIX/Linux training
 
Chapter 1: Introduction to Command Line
Chapter 1: Introduction to  Command LineChapter 1: Introduction to  Command Line
Chapter 1: Introduction to Command Line
 
Operating Systems: Linux in Detail
Operating Systems: Linux in DetailOperating Systems: Linux in Detail
Operating Systems: Linux in Detail
 
Linux Day2
Linux Day2Linux Day2
Linux Day2
 
Chapter 1: Introduction to Command Line
Chapter 1: Introduction  to Command LineChapter 1: Introduction  to Command Line
Chapter 1: Introduction to Command Line
 
The Ultimate IBM and Lotus on Linux Workshop for Windows Admins
The Ultimate IBM and Lotus on Linux Workshop for Windows AdminsThe Ultimate IBM and Lotus on Linux Workshop for Windows Admins
The Ultimate IBM and Lotus on Linux Workshop for Windows Admins
 
How to Audit Linux - Gene Kartavtsev, ISACA MN
How to Audit Linux - Gene Kartavtsev, ISACA MNHow to Audit Linux - Gene Kartavtsev, ISACA MN
How to Audit Linux - Gene Kartavtsev, ISACA MN
 
ITCP PRACTICAL-1.pptx
ITCP PRACTICAL-1.pptxITCP PRACTICAL-1.pptx
ITCP PRACTICAL-1.pptx
 
Linux: Everyting-as-a-service
Linux: Everyting-as-a-serviceLinux: Everyting-as-a-service
Linux: Everyting-as-a-service
 
Unix/Linux
Unix/Linux Unix/Linux
Unix/Linux
 
Linux Desktop Operation - Session 1
Linux Desktop Operation - Session 1Linux Desktop Operation - Session 1
Linux Desktop Operation - Session 1
 
unixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdfunixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdf
 
Bn 1027 demo linux adminstration
Bn 1027 demo  linux adminstrationBn 1027 demo  linux adminstration
Bn 1027 demo linux adminstration
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Online Training in Unix Linux Shell Scripting in Hyderabad
Online Training in Unix Linux Shell Scripting in HyderabadOnline Training in Unix Linux Shell Scripting in Hyderabad
Online Training in Unix Linux Shell Scripting in Hyderabad
 
Unix Shell Script - 2 Days Session.pptx
Unix Shell Script - 2 Days Session.pptxUnix Shell Script - 2 Days Session.pptx
Unix Shell Script - 2 Days Session.pptx
 
redhat_by_Cbitss.ppt
redhat_by_Cbitss.pptredhat_by_Cbitss.ppt
redhat_by_Cbitss.ppt
 
Linux
LinuxLinux
Linux
 
Unix _linux_fundamentals_for_hpc-_b
Unix  _linux_fundamentals_for_hpc-_bUnix  _linux_fundamentals_for_hpc-_b
Unix _linux_fundamentals_for_hpc-_b
 

More from Paddy Lock

More from Paddy Lock (13)

An Inforgraphic to Learn React Native
An Inforgraphic to Learn React NativeAn Inforgraphic to Learn React Native
An Inforgraphic to Learn React Native
 
An Introduction to Vuejs
An Introduction to VuejsAn Introduction to Vuejs
An Introduction to Vuejs
 
Docker for Professionals: The Practical Guide
Docker for Professionals: The Practical GuideDocker for Professionals: The Practical Guide
Docker for Professionals: The Practical Guide
 
Getting started with React and Redux
Getting started with React and ReduxGetting started with React and Redux
Getting started with React and Redux
 
Beginners Guide to Modeling with Maya
Beginners Guide to Modeling with MayaBeginners Guide to Modeling with Maya
Beginners Guide to Modeling with Maya
 
Introduction to Redis
Introduction to RedisIntroduction to Redis
Introduction to Redis
 
PPT on Angular 2 Development Tutorial
PPT on Angular 2 Development TutorialPPT on Angular 2 Development Tutorial
PPT on Angular 2 Development Tutorial
 
PPT on Photoshop
PPT on PhotoshopPPT on Photoshop
PPT on Photoshop
 
Advance Javascript for Coders
Advance Javascript for CodersAdvance Javascript for Coders
Advance Javascript for Coders
 
A Complete Guide For Effective Business Communication – A Course from Eduonix
A Complete Guide For Effective  Business Communication – A Course from EduonixA Complete Guide For Effective  Business Communication – A Course from Eduonix
A Complete Guide For Effective Business Communication – A Course from Eduonix
 
Clojure Fundamentals Course For Beginners
Clojure Fundamentals Course For Beginners Clojure Fundamentals Course For Beginners
Clojure Fundamentals Course For Beginners
 
Infographic on Scala Programming Language
Infographic on Scala Programming LanguageInfographic on Scala Programming Language
Infographic on Scala Programming Language
 
Presentation on Eduonix
 Presentation on Eduonix Presentation on Eduonix
Presentation on Eduonix
 

Recently uploaded

Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
YibeltalNibretu
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 

Recently uploaded (20)

Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 

Linux Administrator - The Linux Course on Eduonix

  • 1. Daily Tasks of a Linux Administrator • Dealing with the black screen (writing scripts) requires a Linux admin to have some diagnostic and architectural thinking. • Handling users and their appropriate accounts, security, privileges. In addition to deactivating “dormant accounts”. Backing up important data: Taking backups on time, ensuring secure storage of backup files, and making sure the backup media can be used for a restore, is one of the most vital Linux admin activities. • Package management: confirming that the OS is up to date, installing any required security or operating system patches makes a Linux admin’s life a lot easier by mitigating the risks of system failures or hackers attacks.
  • 2. What to expect in Linux? • System checking: a famous saying goes like this “a good system administrator should not be a fire fighter”. This implies that a Linux admin should anticipate problems before they happen, instead of waiting for the failure before dealing with it. Performance analysis and system monitoring is also an important concepts • Finding help: an administrator is not expected to be a “walking book”. Linux has a huge number of commands, with a lot of different options and arguments. Effectively using the man pages, and figuring out how a specific command works is an indispensable skill.
  • 3. Linux Kernels – choosing the right one • All Linux types have the same kernel. They differ in some additional components, how they handle specific tasks like software installation and package management, among other things. • If you have a look at “Linux Distributions” on Wikipedia https://en.wikipedia.org/wiki/List_of_Linux_distributions, you will find dozens of them. A lot of which you may have even not heard of before. This is because Linux is open source. Which means, anybody can grab a copy of the kernel, change it, and launch a new flavor. • The most common Linux you’ll ever be working with is one of the following: • Red Hat • Debian • SUSE • Choosing among Linux distributions depends on factors like: will my software work on it?, does the vendor supply patches regularly?, and does the vendor have decent and fast support?
  • 4. Help, I’m lost! • When you’re all by the black screen, you’re only left with the MAN pages. • Man stands for manual. In it’s simplest form, you just type man command • It has several sections, for example: • Commands and applications (man 1) • System calls (man 2) • Library calls (man 3) • Drivers (man 4) • Files (man 5) • You can use more or less command shortcuts for navigation • For example, to view the documentation for smb.conf (SAMBA configuration file), you use the command man 5 smb.conf. But to learn the various options of the smbclient command, you use man 1 smblclient • The section number is automatically determined by man unless there is a title that is common in two sections. For example, passwd is a command and a file at the same time. So to see the file documentation you have to type man 5 passwd.
  • 5. Help Commands • When you want to search for a specific man page use the command man – k keyword • You can also use man –a keyword to display multiple man pages of the topic you want to search for depending on the section • Use man –af keyword to search only in the title • A lot of commands provide help if you type the command alone without arguments or when you follow it by --help or -h • f you want to know whether or not a command is installed or want to know it’s path, you type which command • As time passes, and new software gets installed, sometimes the man page gets out of date. • To update them type the following command: • Red Hat: makewhatis • Ubuntu, SUSE: mandb
  • 6. Few Key Linux Commands • which command: find the path of a command • history: list the commands that you have issued. • If you want the commands to contain a time stamp, use the following environment variable before using history: • export HISTTIMEFORMAT="%d/%m/%y %T ” • du: find the amount of space taken by a file or directory • du –h –max-depth=1 * : find the file and directory sizes in the current location in a human readable format • echo > file : empty a file without deleting it
  • 7. Online Resources • Of course you cannot find everything you need to learn in the man pages. • You can consult a number of online sources to get the information you want, among which are: • Linux.com • Kernel.org • Serverfault.com
  • 8.  PACKAGE MANAGEMENT  Scripting AND THE SHELL  BOOTING AND SHUTTING DOWN  ACCESS CONTROL AND ROOTLY POWERS  CONTROLLING PROCESSES  THE FILESYSTEM  ADDING NEW USERS  STORAGE  PERIODIC PROCESSES  BACKUPS  SYSLOG AND LOG FILES  TCP_IP NETWORKING  NETFILTER AND IPTABLES THE LINUX FIREWALL  DNS The DOMAIN NAME SYSTEM  THE NETWORK FILE SYSTEM  SHARING FILES WITH WINDOWS (SAMBA)  ELECTRONIC MAIL  NETWORK MANAGEMENT AND DEBUGGING  SECURITY  SSH TIPS AND TRICKS Eduonix’s Linux Course – Topics Covered
  • 9. Eduonix’s complete course on the Linux Operating System covers topics such as package management, shell scripting guide, user management and so on. Here’s your chance to become a great Linux programmer for just $10. Use Coupon code: “ OFFER10 ” or click on the link below to get this course at $10: https://www.eduonix.com/courses/system-programming/fundamentals-of-unix-and-linux- system-administration?coupon_code=offer10 Fundamentals of Unix and Linux System Administration