Materials by Mister P

All materials

Tutorial

Quoting and Escaping: Handle Filenames and Arguments with Special Characters

Master Bash quoting and escaping to safely handle filenames and arguments containing spaces, glob characters, dollar signs, and newlines. Covers single quotes, double quotes, backslash escaping, and ANSI-C quoting — essential skills for the RHCSA EX200 exam.

Quoting and Escaping: Handle Filenames and Arguments with Special Characters (cover image)
Tutorial

How to Get Help for Any Command at the Shell Prompt

Master the built-in help tools available at every RHEL shell prompt: --help flags, man pages, whatis, apropos, type, which, and info. This lab covers every help mechanism tested on the RHCSA EX200 exam and builds the muscle memory to find command syntax under exam conditions — without internet access.

How to Get Help for Any Command at the Shell Prompt (cover image)
Tutorial

Diagnose and Fix a 'command not found' Error

Walk through every root cause of a Bash 'command not found' error — typo, broken $PATH, uninstalled package, missing execute bit — and apply the correct fix. Essential diagnostic skill for the RHCSA EX200 exam.

Diagnose and Fix a 'command not found' Error (cover image)
Tutorial

Work Efficiently with Command History and Line Editing

Master Bash command history and readline shortcuts on Rocky Linux 9. Learn to recall, search, and edit commands using !!, !n, !string, Ctrl-R, Ctrl-A/E, Ctrl-U/W, and Ctrl-L — essential efficiency skills for the RHCSA EX200 exam.

Work Efficiently with Command History and Line Editing (cover image)
Tutorial

Control Shell Expansion and Quoting

Master Bash expansion and quoting on Rocky Linux 9. Observe how the shell expands variables, globs, and command substitutions before running commands — then take control using single quotes, double quotes, and backslash escaping. Essential knowledge for the RHCSA EX200 exam.

Control Shell Expansion and Quoting (cover image)
See all tutorials by Mister P →
Challenge

Persist a Custom Binary Directory in $PATH

A custom application has been installed to a non-standard location. Configure the laborant user's environment so the application's directory is permanently available in $PATH for all future login shells.

Challenge

RHCSA Prep: Quoting and Escaping Special Characters in Shell Commands

Master Bash quoting forms — single quotes, double quotes, backslash escaping, and ANSI-C quoting — to correctly handle filenames and arguments containing spaces, glob characters, dollar signs, and newlines.

Challenge

Audit the Shell Environment: Detect a Shadowed Command

A system administrator must verify the shell environment is clean before performing privileged tasks. Practice detecting and resolving command aliases and shell function overrides that can silently hijack administrative commands.

Challenge

Broken Man Pages: whatis Returns Nothing Appropriate

The man page database on this system is broken — whatis and apropos return "nothing appropriate" for every query. Diagnose the root cause and restore full functionality of the shell help tools.

See all challenges by Mister P →