Introduction: Introduce users to typing commands using the command line to work with the Linux operating system. Focusing on hands-on exercises, it will introduce the basic structure and use of the file system, and how to find help.
Course Goals
To introduce users (who have never used Linux) to the Linux OS and command line environment.
Use basic Linux commands from a command line interface within a terminal.
How to find help on a particular command.
Understand what a File System is and be able to navigate around, list folder contents, create folders, move, copy and delete files/folders.
Introduce file/folder permissions and ownership.
01 Getting Started
01.01 Getting Started: What is Linux and Linux Distributions (distro)
What is an Operating System?
When you turn your device on, it boots up the operating system, which manages the communication/interface between your applications and the hardware it is running on.
What is Linux?
Linux is an Operating Systems – similar to Windows, Mac OS, iOS, Android.
Linux is open-source – freely available – so you can download, modify and redistribute.
Due to this there are 10s of varieties of Linux Distributions (distros):
Debian
Ubuntu (based on Debian)
Fedora
Amazon Linux 2
Commercial: Red Hat (which we are using today)
Rocky Linux
There is a lot of commonality across these distros.
01.02 Getting Started: Types of Environments
Types of Environment:
Desktop: Windows type Graphical User Interface (GUI) - mouse point and click.
Terminal: Program that opens a graphical window and runs a:
Shell which is a command interpreter that processes the typed commands.
Interface to the OS.
Provides a Command-Line Interface (CLI) – text-based input/output.
Different Shells share common commands, but syntax and behavior can be different.
02 Using the Terminal
What does a prompt look like?
General syntax of shell command.
Commands/options are case sensitive.
Getting Help:
Man pages (
man
)Options:
<command> --help
02.01 Login
Open up Chrome
Navigate to: https://southpass.arcc.uwyo.edu/
Start Beartooth Shell Access
02.02 Download Slides
02.03 The Command-Line Prompt
Headers and Sections
Each sections should start with a header of ‘Heading 1’. This helps to make sure that the Table of Contents operates like an agenda. Also it helps when we “advance a slide” it jumps to the top of the section. Each section should be limited in length to no more than 14 lines of straight text to ensure that when presenting it can be viewed as a “Slide”.
This is 14 lines. A.K.A. the End
Code Examples
Two Column Tables are nice ways to separate content/ Background info along with a code example on the same “Slide”. Please notice the table width. This should stop scroll bars from appearing
| Please use the "code snippet" in the + button when creating code examples. Also please do not go past the width of the table. This is to prevent scroll bars appearing This is the Max number of code lines to show an example |
Straight Code - No context
Limit to 16 lines in the example. This is the end
Same Thing With Images
Two Column Tables are nice ways to separate content/ Background info along with an image example on the same “Slide”. Please notice the table width. This should stop scroll bars from appearing
|
|
Alternatively No Table
Finally The End
Link to Previous sub-module or Home Module |
Align left link to next sub-module or home |