Back to library

🐚Linux Shell Essentials

Stop copy-pasting shell commands you don't understand. Build the mental model of files, processes, and pipes — then compose grep, awk, and xargs into a maintenance script with real error handling.

Foundations14 drops~2-week path · 5–8 min/daytechnology

Phase 1Files, Processes, and the Unix Philosophy

Build the mental model of files, processes, and pipes

4 drops
  1. Everything is a file, even the things that aren't

    6 min

    Everything is a file, even the things that aren't

  2. Every command is a process with three open files

    7 min

    Every command is a process with three open files

  3. A pipe is two processes sharing a kernel buffer

    7 min

    A pipe is two processes sharing a kernel buffer

  4. Your shell is always standing somewhere

    6 min

    Your shell is always standing somewhere

Phase 2Composing Daily Tasks with Pipes, Grep, Awk, and Xargs

Wield grep, awk, sed, and xargs for daily tasks

5 drops
  1. Grep is a filter, not a search engine

    6 min

    Grep is a filter, not a search engine

  2. Awk is grep that knows about columns

    7 min

    Awk is grep that knows about columns

  3. Sed is awk's older sibling who only edits

    6 min

    Sed is awk's older sibling who only edits

  4. Xargs turns lines of input into command arguments

    6 min

    Xargs turns lines of input into command arguments

  5. Find is a filesystem query language pretending to be a command

    7 min

    Find is a filesystem query language pretending to be a command

Phase 3Permissions, Redirection, and Process Substitution in Practice

Connect permissions, redirection, and process substitution

4 drops
  1. An rwx triple isn't a permission — it's three of them

    6 min

    An rwx triple isn't a permission — it's three of them

  2. Redirection is wiring, not syntax

    7 min

    Redirection is wiring, not syntax

  3. Process substitution lets a command pretend to be a file

    7 min

    Process substitution lets a command pretend to be a file

  4. Quoting isn't decoration — it's the difference between one word and many

    6 min

    Quoting isn't decoration — it's the difference between one word and many

Phase 4Ship a Maintenance Script with Real Error Handling

Write a maintenance script with proper error handling

1 drop
  1. Build a log-rotating, error-aware maintenance script

    8 min

    Build a log-rotating, error-aware maintenance script

Frequently asked questions

What's the difference between a pipe and redirection in the shell?
This is covered in the “Linux Shell Essentials” learning path. Start with daily 5-minute micro-lessons that build from fundamentals to hands-on application.
Why do shell scripts need 'set -euo pipefail' at the top?
This is covered in the “Linux Shell Essentials” learning path. Start with daily 5-minute micro-lessons that build from fundamentals to hands-on application.
How do file permissions actually work with chmod numbers like 755?
This is covered in the “Linux Shell Essentials” learning path. Start with daily 5-minute micro-lessons that build from fundamentals to hands-on application.
When should I use awk versus sed versus grep?
This is covered in the “Linux Shell Essentials” learning path. Start with daily 5-minute micro-lessons that build from fundamentals to hands-on application.
What is process substitution and when do I need it?
This is covered in the “Linux Shell Essentials” learning path. Start with daily 5-minute micro-lessons that build from fundamentals to hands-on application.