StackMonsters

Linux Course · 01

Linux Essentials

Work in a bash shell that runs in your browser. Move around the filesystem, read and edit files, connect commands with pipes, set up your environment, fix permissions and repair an unfamiliar project. Every lesson has a quiz and a hands-on lab. Nothing to install.

15
chapters
180
lessons & labs
Chapter 1
free, no account needed
Beginner
no Linux experience needed

Who it's for

Engineers who need the shell to stop being a guess.

  • Sysadmins and support engineers moving into DevOps
  • Backend developers moving toward SRE and platform roles
  • Anyone who freezes at a blank terminal prompt

What you'll be able to do

Work on a Linux machine without looking things up.

  • Move around a Linux filesystem and manage files from the shell
  • Read, search and edit text files and logs
  • Combine commands with pipes and redirection
  • Understand users, groups and permissions, and use sudo safely
  • Find and fix what is wrong on a machine you have never seen

I was looking for a structured learning path to help me break into DevOps. The Linux Essentials course convinced me to go Pro, and I've really enjoyed the interactive, hands-on approach to the lessons.

SamPro Memberon Linux Essentials

The path

15 chapters covering the shell, files, processes and permissions.

Each lesson is short and ends in a quiz, then a lab on a simulated Ubuntu machine in your browser. Chapter 1 is free. Finish a chapter to open the next.

  1. 01

    The Terminal and the Shell

    Type a line, read the reply, run your first commands

    Free
    1. 1Make It TalkLab2 min
    2. 2Use the CalculatorLab3 min
    3. 3The Terminal and the Shell3 min
    4. 4Read the PromptLab4 min
    5. 5Remember a ValueLab3 min
    6. 6Replay Your CommandsLab4 min
    7. 7Type LessLab4 min
    8. 8Challenge: Turn the Shop Back OnLab8 min
  2. 02

    Command Lines

    Arguments, quotes, flags, errors and help

    1. 1Arguments6 min
    2. 2Pass ArgumentsLab4 min
    3. 3Quotes6 min
    4. 4Keep the SpacesLab4 min
    5. 5Flags7 min
    6. 6Change How a Command WorksLab5 min
    7. 7Flags That Take a Value6 min
    8. 8Read the Start and the EndLab5 min
    9. 9Read an Error Message6 min
    10. 10Fix Three Broken LinesLab5 min
    11. 11Get Help with --help6 min
    12. 12Find the FlagLab5 min
    13. 13The Manual: man5 min
    14. 14Read a Manual PageLab4 min
  3. 03

    Navigating Linux

    Directories, paths and where things are

    1. 1Files and Directories5 min
    2. 2Map the TreeLab4 min
    3. 3Paths6 min
    4. 4Follow a PathLab4 min
    5. 5Your Home Directory5 min
    6. 6Go HomeLab4 min
    7. 7The Current Directory5 min
    8. 8Where Am I?Lab3 min
    9. 9List a Directory with ls6 min
    10. 10Read a ListingLab5 min
    11. 11Change Directory with cd6 min
    12. 12Move Around the TreeLab5 min
    13. 13Relative Paths6 min
    14. 14Take the Short WayLab5 min
    15. 15The Parent Directory5 min
    16. 16Go Up the TreeLab5 min
    17. 17Hidden Files5 min
    18. 18Find What ls Does Not ShowLab5 min
    19. 19Tab Completion for Paths4 min
    20. 20Complete the PathLab4 min
    21. 21The Linux Directory Layout6 min
    22. 22Know Where to LookLab5 min
  4. 04

    Working with Files

    Create, copy, move, delete and link

    1. 1Create a File with touch5 min
    2. 2Make Empty FilesLab4 min
    3. 3Make a Directory with mkdir5 min
    4. 4Build the ArchiveLab4 min
    5. 5Copy a File with cp6 min
    6. 6Back Up Before You ChangeLab4 min
    7. 7Copy a Directory with cp -r5 min
    8. 8Copy a Whole BranchLab4 min
    9. 9Move and Rename with mv6 min
    10. 10Tidy the Shop DirectoryLab5 min
    11. 11Delete a File with rm5 min
    12. 12Delete with CareLab4 min
    13. 13Delete a Directory with rm -r5 min
    14. 14Remove an Old BranchLab4 min
    15. 15Symbolic Links7 min
    16. 16Point to the Right VersionLab6 min
  5. 05

    Wildcards and Patterns

    Work on many files with one line

    1. 1The * Wildcard6 min
    2. 2Sort the InboxLab5 min
    3. 3The ? and [ ] Wildcards6 min
    4. 4Pick the Right WeeksLab5 min
    5. 5Brace Expansion6 min
    6. 6Build a Year of DirectoriesLab4 min
    7. 7Organize a Messy Directory6 min
    8. 8Organize the Market StallLab10 min
  6. 06

    Search Text with grep

    Find the lines you need in files and directories

    1. 1Find Text with grep6 min
    2. 2Search a LogLab4 min
    3. 3Change What grep Matches: -i, -w, -v6 min
    4. 4Filter the NoiseLab5 min
    5. 5Change What grep Writes: -n, -c5 min
    6. 6Count and PointLab4 min
    7. 7Search Several Files5 min
    8. 8Search Every LogLab4 min
    9. 9Search a Directory with grep -r5 min
    10. 10Find Where a Setting LivesLab5 min
  7. 07

    Find and Edit Files

    Find files, change them safely, and check the change

    1. 1Find Files by Name with find6 min
    2. 2Find a Lost FileLab5 min
    3. 3Find Files by Size and Age6 min
    4. 4Find the Big and the OldLab5 min
    5. 5Edit a File6 min
    6. 6Change a SettingLab5 min
    7. 7Compare Files with diff6 min
    8. 8What Changed?Lab5 min
    9. 9Find and Fix a Settings Error6 min
    10. 10Fix the Card ReaderLab10 min
  8. 08

    Redirection

    Send output and errors to files

    1. 1Output and Errors5 min
    2. 2Tell the Streams ApartLab3 min
    3. 3Save Output with >6 min
    4. 4Save a ReportLab4 min
    5. 5Add to a File with >>5 min
    6. 6Keep a Running LogLab4 min
    7. 7Save Errors with 2>5 min
    8. 8Separate the ErrorsLab4 min
    9. 9Both Streams to One File5 min
    10. 10Everything in One FileLab4 min
    11. 11Throw Output Away: /dev/null4 min
    12. 12Hide the NoiseLab4 min
    13. 13Standard Input and <5 min
    14. 14Numbers OnlyLab4 min
  9. 09

    Pipes

    Connect commands into pipelines

    1. 1Connect Commands with |6 min
    2. 2Build Your First PipelineLab5 min
    3. 3Sort Lines with sort6 min
    4. 4Rank the SalesLab4 min
    5. 5Take a Column with cut5 min
    6. 6Take the Column You NeedLab4 min
    7. 7Count Repeats with uniq -c6 min
    8. 8What Sells Most?Lab5 min
    9. 9Save a Copy with tee4 min
    10. 10See It and Keep ItLab4 min
    11. 11Build a Log Summary5 min
    12. 12The Daily ReportLab10 min
  10. 10

    Programs, Processes and the Kernel

    What runs your commands

    1. 1Programs Are Files5 min
    2. 2Find the Program FilesLab4 min
    3. 3Processes6 min
    4. 4What Is Running?Lab5 min
    5. 5The Kernel6 min
    6. 6Ask the KernelLab3 min
    7. 7Parent and Child Processes6 min
    8. 8Follow the ParentsLab5 min
    9. 9Stop a Process6 min
    10. 10Stop the Runaway JobsLab6 min
    11. 11The Operating System5 min
    12. 12Sort the LayersLab4 min
    13. 13Linux Distributions6 min
    14. 14Identify the ComputerLab4 min
  11. 11

    Variables and the Environment

    Store values, pass them to programs, and find commands

    1. 1Shell Variables6 min
    2. 2Hold a ValueLab4 min
    3. 3Use Variables in Commands6 min
    4. 4Build Paths from VariablesLab5 min
    5. 5Single and Double Quotes5 min
    6. 6Choose the QuotesLab4 min
    7. 7Environment Variables6 min
    8. 8Read the EnvironmentLab4 min
    9. 9Pass a Variable On with export5 min
    10. 10Hand a Setting to a ProgramLab5 min
    11. 11How PATH Finds Commands6 min
    12. 12Put Your Tools on the PATHLab5 min
  12. 12

    Customize Your Shell

    Builtins, aliases and settings that stay

    1. 1Builtins and type5 min
    2. 2What Kind of Command?Lab4 min
    3. 3Aliases5 min
    4. 4Make a ShortcutLab4 min
    5. 5Keep Your Settings in ~/.bashrc6 min
    6. 6Make It StayLab5 min
  13. 13

    Users and Groups

    Accounts, groups, owners and sudo

    1. 1Accounts and User IDs6 min
    2. 2Read the Account ListLab4 min
    3. 3Groups5 min
    4. 4Who Is in Which Group?Lab4 min
    5. 5Check Your Identity with id4 min
    6. 6Who Am I Here?Lab3 min
    7. 7File Owners5 min
    8. 8Whose File Is It?Lab4 min
    9. 9Run a Command as root with sudo6 min
    10. 10Borrow rootLab5 min
    11. 11Make Accounts and Groups6 min
    12. 12Hire a CashierLab5 min
  14. 14

    File Permissions

    Who can read, change and run each file

    1. 1Read Permissions7 min
    2. 2Who Can Do What?Lab5 min
    3. 3Permissions on Directories6 min
    4. 4The Locked DoorLab5 min
    5. 5Change Permissions with chmod6 min
    6. 6Open and Close FilesLab5 min
    7. 7Permission Numbers6 min
    8. 8Set Permissions by NumberLab5 min
    9. 9Change the Owner with chown5 min
    10. 10Hand Over the FilesLab5 min
    11. 11Repair Access Without chmod 7776 min
    12. 12Undo the 777Lab10 min
  15. 15

    Final Challenge

    Fix an unfamiliar project end to end

    1. 1Explore an Unfamiliar Project6 min
    2. 2Survey the stock-api ProjectLab8 min
    3. 3Locate the Broken Configuration6 min
    4. 4Find and Fix the Bad Config ValueLab8 min
    5. 5Fix File Paths and Permissions7 min
    6. 6Repair Paths and PermissionsLab8 min
    7. 7Run the Project's Check Script6 min
    8. 8Run the Check ScriptLab8 min
    9. 9Generate a Results Report6 min
    10. 10Write the Results ReportLab8 min