Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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

  1. Open up Chrome

  2. Navigate to: https://southpass.arcc.uwyo.edu/

  3. Start Beartooth Shell Access

image-20240522-171946.png

02.02 Download Slides

image-20240522-172121.png


02.03 The Command-Line Prompt

image-20240522-171748.png

02.04 Syntax of a Shell Command

image-20240522-172219.png

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

  • Bullets are nice to include for distinct points

  • yep

  • they

  • sure

  • are

    This is 14 lines

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

  • Bullets are nice to include for distinct points

  • yep

  • they

  • sure

  • are

    This is 14 lines

 

image-20240514-000033.png

Alternatively No Table

 

image-20240514-000127.png

Finally The End

Link to Previous sub-module or Home Module

 

Align left link to next sub-module or home

  • No labels