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

DOCX
Linux admin interview questions
PPT
Linux Interview Questions Quiz
PDF
basic linux command (questions)
PPT
Linux Administration
PPT
A Quick Introduction to Linux
PPTX
Linux basics part 1
PDF
An Introduction To Linux
PPT
Linux presentation
Linux admin interview questions
Linux Interview Questions Quiz
basic linux command (questions)
Linux Administration
A Quick Introduction to Linux
Linux basics part 1
An Introduction To Linux
Linux presentation

What's hot (20)

PDF
Linux server world
ODP
Linux commands
ODP
Linux Introduction (Commands)
PPT
LINUX
PDF
Linux Presentation
DOCX
Linux basic commands tutorial
PPTX
Linux fundamentals
PPTX
Unix OS & Commands
PPTX
Linux Command Suumary
KEY
Linux beginner's Workshop
PPTX
Linux Presentation
PDF
Linux practicals T.Y.B.ScIT
PDF
LINUX Admin Quick Reference
DOC
Some basic unix commands
PPTX
Introduction to Linux
PPTX
Linux commands
PPT
Linux administration classes in mumbai
PPT
Linux
PDF
Basic unix commands
DOCX
Linux or unix interview questions
Linux server world
Linux commands
Linux Introduction (Commands)
LINUX
Linux Presentation
Linux basic commands tutorial
Linux fundamentals
Unix OS & Commands
Linux Command Suumary
Linux beginner's Workshop
Linux Presentation
Linux practicals T.Y.B.ScIT
LINUX Admin Quick Reference
Some basic unix commands
Introduction to Linux
Linux commands
Linux administration classes in mumbai
Linux
Basic unix commands
Linux or unix interview questions
Ad

Viewers also liked (20)

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

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

PPTX
Linuxtraining 130710022121-phpapp01
PPTX
UNIX/Linux training
PPTX
Network_lecture_for_students_whom_intersted.pptx
PPTX
Chapter 1: Introduction to Command Line
PPTX
Operating Systems: Linux in Detail
PDF
Linux Day2
PDF
Chapter 1: Introduction to Command Line
PDF
The Ultimate IBM and Lotus on Linux Workshop for Windows Admins
PPTX
LINUX (1).pptxtytyyyyyyuuuuuuuuuuurttttttrrrrrr
PDF
How to Audit Linux - Gene Kartavtsev, ISACA MN
PPTX
ITCP PRACTICAL-1.pptx
PDF
Linux: Everyting-as-a-service
PPTX
Unix/Linux
PPTX
Linux Desktop Operation - Session 1
PDF
unixoperatingsystem-130327073532-phpapp01.pdf
PDF
Bn 1027 demo linux adminstration
PDF
Introduction to linux
PPT
Online Training in Unix Linux Shell Scripting in Hyderabad
PPTX
Unix Shell Script - 2 Days Session.pptx
PPT
redhat_by_Cbitss.ppt
Linuxtraining 130710022121-phpapp01
UNIX/Linux training
Network_lecture_for_students_whom_intersted.pptx
Chapter 1: Introduction to Command Line
Operating Systems: Linux in Detail
Linux Day2
Chapter 1: Introduction to Command Line
The Ultimate IBM and Lotus on Linux Workshop for Windows Admins
LINUX (1).pptxtytyyyyyyuuuuuuuuuuurttttttrrrrrr
How to Audit Linux - Gene Kartavtsev, ISACA MN
ITCP PRACTICAL-1.pptx
Linux: Everyting-as-a-service
Unix/Linux
Linux Desktop Operation - Session 1
unixoperatingsystem-130327073532-phpapp01.pdf
Bn 1027 demo linux adminstration
Introduction to linux
Online Training in Unix Linux Shell Scripting in Hyderabad
Unix Shell Script - 2 Days Session.pptx
redhat_by_Cbitss.ppt

More from Paddy Lock (13)

PDF
An Inforgraphic to Learn React Native
ODP
An Introduction to Vuejs
ODP
Docker for Professionals: The Practical Guide
PDF
Getting started with React and Redux
PPTX
Beginners Guide to Modeling with Maya
PPTX
Introduction to Redis
PPTX
PPT on Angular 2 Development Tutorial
PPTX
PPT on Photoshop
PPTX
Advance Javascript for Coders
PPTX
A Complete Guide For Effective Business Communication – A Course from Eduonix
PPTX
Clojure Fundamentals Course For Beginners
PDF
Infographic on Scala Programming Language
PPTX
Presentation on Eduonix
An Inforgraphic to Learn React Native
An Introduction to Vuejs
Docker for Professionals: The Practical Guide
Getting started with React and Redux
Beginners Guide to Modeling with Maya
Introduction to Redis
PPT on Angular 2 Development Tutorial
PPT on Photoshop
Advance Javascript for Coders
A Complete Guide For Effective Business Communication – A Course from Eduonix
Clojure Fundamentals Course For Beginners
Infographic on Scala Programming Language
Presentation on Eduonix

Recently uploaded (20)

PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Business Ethics Teaching Materials for college
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
Pharma ospi slides which help in ospi learning
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
master seminar digital applications in india
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
2.FourierTransform-ShortQuestionswithAnswers.pdf
Business Ethics Teaching Materials for college
Final Presentation General Medicine 03-08-2024.pptx
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Pharma ospi slides which help in ospi learning
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Week 4 Term 3 Study Techniques revisited.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Pre independence Education in Inndia.pdf
Classroom Observation Tools for Teachers
master seminar digital applications in india
Supply Chain Operations Speaking Notes -ICLT Program
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf

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