Linuxin 3 Hours
Linuxin 3 Hours
Agenda
Agenda
Click to edit Master title style
• Which Linux to use
• How to install
• Logging in to Linux
• Your first shell script
• Understanding where to find what
• Finding help about commands
• Accessing Linux Remotely
• Using storage devices
• Q&A
Learn
Click to edit Linux
Master in style
title 3 Hours
About you
PollClick
question 1
to edit Master title style
• How would you rate your own Linux knowledge on a
scale 1-5?
• 1
• 2
• 3
• 4
• 5
PollClick
question 2
to edit Master title style
• Do you have a favorite distribution?
• not yet
• Red Hat / CentOS / Fedora
• Ubuntu /Linux Mint
• Oracle
• SUSE
• Windows Subsystem for Linux
• Other
PollClick
question 3
to edit Master title style
• Which job title applies to you best?
• Systems administrator
• Developer
• Devops
• Manager
• Student
• Other
PollClick
Question 4
to edit Master title style
• Which statement best applies to you
• I want to learn how to work with WSL
• I want to learn how to access a remote Linux installation and work on
that
• I want to install Linux on a computer and work with it from there
PollClick
question 5
to edit Master title style
• Which part of the world are you from?
• North/Central America
• South America
• India
• Asia
• Europe
• Netherlands
• Africa
• Australia Pacific
Learn
Click to edit Linux
Master in style
title 3 Hours
Logging in to Linux
Connecting to Linux
Click to edit Master title style
• To log in, you should use a non-root user account
• There are multiple common ways to connect
• From the GDM Login Screen
• From the console
• Remotely (covered later)
To Root or not to Root
Click to edit Master title style
• Avoid logging in as root directly
• Root is a kernel level user and as such unrestricted!
• Use sudo to run commands with root privileges
• And if there really is no other option: use su - to open a root shell
sudo versus su
Click to edit Master title style
• sudo allows you to run commands with elevated privileges
• Requires authorization
• Password of the authorized user account is used
• su - allows you to open a root shell
• Requires the root password
• Does not work on Ubuntu (or WSL)
• Notice that some distributions don't set a root password by default
• sudo su - and sudo -i open a root shell for you
LabClick
1: Accessing Linux
to edit Master title style
• Determine how you want to access Linux in this class and access it.
• From the login prompt, if required, log in as a regular non-root user
• If your Linux environment doesn't require you to log in, type
whoami to see the actual username that is used
Learn
Click to edit Linux
Master in style
title 3 Hours
Q&A