Getting Help: man, --help, and tldr
Learn to find answers directly in the terminal using manual pages, built-in help flags, and the tldr command.
Getting Help: man, --help, and tldr is a free Linux Command Line Mastery lesson on CoddyKit — lesson 4 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Linux Command Line Mastery learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
You Will Forget Commands
Nobody memorizes every flag. The mark of a confident shell user is knowing how to look things up without leaving the terminal.
The man Command
man opens a command’s manual page — purpose, options, and examples. It’s the authoritative reference shipped with the program itself.
man lsNavigating man Pages
Man pages open in a pager: Space/b to page, /word then n to search, and q to quit.
/recursive (then press Enter, n to jump matches)Reading the SYNOPSIS
Read the SYNOPSIS line for usage: square brackets mean optional, ... means repeatable. Decoding it saves real time.
ls [OPTION]... [FILE]...The --help Flag
For a fast reminder of a command’s flags, use --help (or -h) — quicker than opening the full man page.
grep --helpman Sections
The manual splits into numbered sections: 1 is user commands, 5 is file formats. A name can live in several, like man 5 passwd.
man 5 passwd # the file format, not the commandSearching for a Command
Forgot the command name? apropos (or man -k) searches manual descriptions by keyword to find it.
apropos compressThe tldr Command
Man pages are dense. tldr shows community-written, example-first summaries — perfect when you just want a working command.
tldr tarComparing the Tools
Pick the right tool: man for the full reference, --help for a fast flag reminder, and tldr for copy-paste examples.
Built-in Help for the Shell
Shell built-ins like cd aren’t separate programs, so man cd may fail. In Bash, use help for those.
help cdFinding Where a Command Lives
Confirm a command first: which shows its path, and type tells you if it’s a builtin, alias, or program.
which python3
type cdQuick Check
Test your understanding of getting help.
Recap
You can now find answers in the shell: man for full references, --help for quick reminders, apropos to discover, tldr for examples, help for built-ins.
Frequently asked questions
Is the “Getting Help: man, --help, and tldr” lesson free?
Yes — the full text of “Getting Help: man, --help, and tldr” is free to read here on the web, and the Linux Command Line Mastery course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Linux Command Line Mastery course, upgrade to CoddyKit PRO.
What will I learn in “Getting Help: man, --help, and tldr”?
Learn to find answers directly in the terminal using manual pages, built-in help flags, and the tldr command. You practise Linux Command Line Mastery with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Linux Command Line Mastery?
No prior experience is required. Linux Command Line Mastery on CoddyKit is structured for beginners through advanced learners; this is — lesson 4 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Getting Help: man, --help, and tldr” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Linux Command Line Mastery lesson?
Yes. Every Linux Command Line Mastery lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- Introduction to the Linux Shell
- Basic Navigation: `cd`, `ls`, `pwd`
- File & Directory Management: `mkdir`, `rm`, `cp`, `mv`
- Getting Help: man, --help, and tldr