Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Linux and the Command Line

Almost every workshop, server and development tool assumes basic Linux comfort. These resources take you from navigating directories to reading manual pages and writing small scripts.

Start from zero

ResourceFormatDescriptionSource / access
The Linux Command LineBookA patient, complete introduction by William Shotts. Free PDF and online edition.Free, CC BY-NC-ND 3.0
Ubuntu command-line tutorialDocsA short guided tour of the terminal for absolute beginners.Canonical — free
Linux man-pagesDocsThe reference for system calls and C library behaviour. Use it with man.Free
GNU Bash manualDocsOfficial shell reference: expansions, builtins, job control.GNU Project — free

Go deeper

ResourceFormatDescriptionSource / access
The Missing SemesterCourseMIT’s practical course on the shell, editors, data wrangling and Git.Free
Advanced Bash-Scripting GuideBookA long, example-driven reference for shell scripting.Free
GNU Coreutils manualDocsExact behaviour of ls, cp, sort, find and friends.GNU Project — free
explainshellToolPaste a command and see each argument explained from the man pages.Free
ShellCheckToolPaste a script and catch common shell mistakes before running it.Free and open source
BanditPracticeSSH-based wargame that teaches Linux commands through puzzles.Free

Local practice

The Linux Command Line guide in this library is a short starter walkthrough of the commands you need for workshops; it is not a student submission. For deeper practice, install a Linux distribution in a virtual machine or use Windows Subsystem for Linux.

Know a free Linux resource written for students? Suggest it with a short description of what it covers.

Suggest a resource →