Welcome to Part 10 of the LFCS Certification - Phase 1 series! You've mastered basic commands and password management. Now it's time to learn the most important skill for any Linux administrator: how to find help when you need it.
๐ฏ What You'll Learn: In this comprehensive guide, you'll master:
- Why learning to find help is THE most critical skill for sysadmins
- Overview of all Linux help resources available
- man pages - The primary documentation system
- info pages - GNU's detailed documentation format
- --help - Quick command-line reference
- tldr - Community-driven simplified examples
- /usr/share/doc - Package documentation and examples
- When to use each help system and why
- How to become truly self-sufficient in Linux
- Building a mental model for finding information
- 15+ comprehensive practice labs with solutions
Series: LFCS Certification Preparation - Phase 1 (Post 10 of 52) Previous: Part 9 - Understanding the passwd Command Next: Part 11 - Mastering man Pages Part 1: Basics
Why Learning to Find Help is Critical
As a Linux system administrator, you'll encounter thousands of commands, each with dozens of options. Nobody memorizes everything. The real skill is knowing how to find information quickly when you need it.
The Reality of Linux Administration
You cannot memorize:
- 5,000+ Linux commands
- All options for each command
- Configuration file formats
- Every error message
- All system log locations
But you CAN master:
- Finding help fast
- Reading documentation effectively
- Understanding documentation structure
- Knowing which resource to check first
๐ก The Secret: Expert Linux administrators aren't experts because they memorize everything. They're experts because they know how to find answers fast.
For the LFCS Exam
The LFCS exam is hands-on and practical. You'll have access to:
- All system documentation
- man pages
- Command --help output
- Everything on the system
But you WON'T have:
- Internet access
- External resources
- Time to waste searching inefficiently
Knowing help systems well = passing the exam faster!
Overview of Linux Help Resources
Linux provides multiple help systems, each serving different purposes:
| Resource | Best For | When to Use | Speed |
|---|---|---|---|
| --help | Quick option reference | Need to check available options fast | โก Instant |
| man pages | Complete command reference | Need detailed info about command/config file | โกโก Very Fast |
| info pages | Detailed GNU program docs | Need comprehensive guide for GNU tools | โกโก Fast |
| tldr | Practical examples | Want quick examples of common use cases | โก Instant |
| /usr/share/doc | Package documentation, examples, READMEs | Need config examples or package-specific docs | โกโกโก Depends |
Help Resource 1: --help (Quick Reference)
The --help option is built into most commands and provides a quick summary of available options.
How to Use --help
command --help
Example: ls --help
[centos9@centos ~]$ ls --help
Usage: ls [OPTION]... [FILE]...
List information about the FILEs (the current directory by default).
Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.
Mandatory arguments to long options are mandatory for short options too.
-a, --all do not ignore entries starting with .
-A, --almost-all do not list implied . and ..
-l use a long listing format
-h, --human-readable with -l and -s, print sizes like 1K 234M 2G etc.
-t sort by time, newest first; see --time
...
When to Use --help
Use --help when:
- โ You know the command name
- โ You need to check available options quickly
- โ You want a quick reminder of syntax
- โ You're in a hurry
Don't use --help when:
- โ You need detailed explanations
- โ You want to understand concepts
- โ You need examples
- โ You're learning something new
--help Advantages
- Instant - No page loading or navigation
- Always available - Built into commands
- Concise - Shows just what you need
- Easy to pipe - Can grep through it
Example: Finding Specific Option
# Search for "recursive" option in ls
ls --help | grep -i recursive
-R, --recursive list subdirectories recursively
Help Resource 2: man Pages (Primary Documentation)
man pages (manual pages) are the primary documentation system in Linux. They provide comprehensive information about commands, configuration files, and system calls.
Quick Introduction (Detailed in Next Post)
# View man page for a command
man ls
# View man page for a config file
man passwd # Command
man 5 passwd # File format
Man Page Structure
Every man page follows a standard structure:
- NAME - Command name and brief description
- SYNOPSIS - Command syntax
- DESCRIPTION - Detailed explanation
- OPTIONS - All available options explained
- EXAMPLES - Usage examples (sometimes)
- FILES - Related configuration files
- SEE ALSO - Related commands
- AUTHOR - Who wrote it
- BUGS - Known issues
When to Use man Pages
Use man pages when:
- โ You need complete documentation
- โ You want to understand all options
- โ You're learning a new command
- โ You need to check config file format
- โ --help wasn't enough detail
Man pages are your BEST FRIEND for LFCS!
๐ก Coming Up: The next two posts will cover man pages in depth - navigation, searching, sections, and advanced usage. Master man pages and you'll master Linux!
Help Resource 3: info Pages (GNU Documentation)
info pages are part of the GNU documentation system. They provide more detailed and structured documentation than man pages, especially for GNU tools.
How to Use info
# View info page for a command
info ls
# Direct access to specific topic
info '(coreutils) ls invocation'
info vs man
| Feature | man Pages | info Pages |
|---|---|---|
| Coverage | Nearly all commands | Mainly GNU utilities |
| Structure | Single page, linear | Hyperlinked, tree-structured |
| Detail Level | Reference documentation | Tutorial + reference |
| Navigation | Scroll up/down, search | Links, nodes, menus |
| Best For | Quick lookup, all commands | Learning GNU tools in depth |
When to Use info Pages
Use info pages when:
- โ Learning GNU coreutils (ls, cp, mv, etc.)
- โ Want more conceptual explanations
- โ man page isn't detailed enough
- โ Prefer structured, linked documentation
Most admins prefer man pages for speed, but info pages are valuable for deep learning!
Help Resource 4: tldr (Simplified Examples)
tldr (Too Long; Didn't Read) provides simplified, practical examples for common commands. It's community-driven and focuses on what you actually need.
Installing tldr
# RedHat/CentOS/Rocky/Alma
sudo dnf install tldr
# Ubuntu/Debian
sudo apt install tldr
# Or using npm (if Node.js installed)
npm install -g tldr
How to Use tldr
# View simplified examples for a command
tldr tar
# Update the tldr database
tldr --update
Example: tldr vs man
man tar = 3,000+ lines of detailed documentation
tldr tar = 15 lines with the most common use cases:
$ tldr tar
tar
Archiving utility.
Often combined with a compression method, such as gzip or bzip2.
More information: https://www.gnu.org/software/tar.
- Create an archive from files:
tar cf target.tar file1 file2 file3
- Create a gzipped archive:
tar czf target.tar.gz file1 file2 file3
- Extract an archive:
tar xf source.tar
- Extract a gzipped archive:
tar xzf source.tar.gz
When to Use tldr
Use tldr when:
- โ You need a quick example NOW
- โ man page is overwhelming
- โ You know generally what you want to do
- โ You want the most common use cases
Note: tldr requires installation and isn't always available on exam systems. Know man pages first!
Help Resource 5: /usr/share/doc (Package Documentation)
The /usr/share/doc directory contains package-specific documentation, including:
- README files
- Configuration examples
- Changelogs
- License information
- Sample configurations
Exploring /usr/share/doc
# List all package documentation
ls /usr/share/doc
# View documentation for a specific package
ls /usr/share/doc/bash-*
# Read a README file
less /usr/share/doc/bash-*/README
What You'll Find
Common files in package docs:
README- General informationREADME.md- Markdown formatted readmeINSTALL- Installation instructionsCHANGELOG- Version historyAUTHORS- Who created itLICENSE- Usage termsexamples/- Configuration examplesNEWS- Recent changes
Example: Finding nginx Configuration Examples
# Check nginx documentation
ls /usr/share/doc/nginx-*/
# Look for example configs
find /usr/share/doc/nginx-* -name "*.conf"
When to Use /usr/share/doc
Use /usr/share/doc when:
- โ Setting up a new service
- โ Need configuration file examples
- โ Want to see real-world configs
- โ Checking package version history
- โ man page doesn't show config examples
Decision Tree: Which Help Resource to Use?
Need help with a command?
โ
โโ Need quick option reminder?
โ โโ> Use --help
โ
โโ Need complete reference?
โ โโ> Use man pages
โ
โโ Want simple practical examples?
โ โโ> Use tldr (if installed)
โ
โโ Learning GNU tool in depth?
โ โโ> Use info pages
โ
โโ Need config examples?
โโ> Check /usr/share/doc
Building Your Help-Finding Strategy
The Efficient Admin's Approach
Step 1: Quick Check (5 seconds)
command --help | grep keyword
Step 2: Detailed Lookup (30 seconds)
man command
# Press / to search
# Read relevant sections
Step 3: Practical Examples (1 minute)
tldr command # If available
# Or search /usr/share/doc for examples
Step 4: Deep Dive (5+ minutes)
info command # For GNU tools
# Or read full man page thoroughly
Practice Makes Perfect
The more you use these tools, the faster you'll get. After a few weeks:
- You'll know which resource to check first
- You'll navigate man pages quickly
- You'll find answers in seconds, not minutes
๐ก Pro Tip: Set a goal - for the next week, ONLY use built-in help systems. Don't Google anything. Force yourself to use man pages. You'll be amazed how fast you improve!
๐งช Practice Labs
Let's practice using different help resources!
Lab 1: Exploring --help (Beginner)
Tasks:
- Use --help to find the option for creating a directory with parents
- Find the ls option to show human-readable sizes
- Check passwd --help for the lock option
- Use grep to search --help output
Click to reveal solution
# Task 1: mkdir option for creating parent directories
mkdir --help | grep parent
# Output: -p, --parents no error if existing, make parent directories
# Task 2: ls option for human-readable sizes
ls --help | grep human
# Output: -h, --human-readable with -l and -s, print sizes like 1K 234M 2G
# Task 3: passwd lock option
passwd --help | grep lock
# Output: -l, --lock lock the password for the named account (root only)
# Task 4: Search for "recursive" in various commands
ls --help | grep -i recursive
cp --help | grep -i recursive
rm --help | grep -i recursive
Key Learning:
- --help is perfect for quick option lookup
- Grep makes --help even more powerful
- Most commands support --help or -h
Lab 2: Comparing Help Resources (Intermediate)
Tasks:
- Check ls with --help, man, and info
- Compare the level of detail in each
- Note how long it takes to find the -a option explanation
- Decide which you prefer for quick lookups
Click to reveal solution
# Task 1 & 2: Compare three resources
# Option A: --help (fastest, least detail)
ls --help | grep "\-a"
# Shows: -a, --all do not ignore entries starting with .
# Time: ~2 seconds
# Option B: man page (detailed, structured)
man ls
# Press / then type: -a
# Shows full explanation with context
# Time: ~10 seconds
# Option C: info page (most detailed, educational)
info ls
# Navigate to options section
# Shows -a with examples and explanations
# Time: ~20 seconds
# Task 3: Speed comparison
echo "--help: Instant but minimal"
echo "man: Fast and detailed"
echo "info: Comprehensive but slower"
# Task 4: Personal preference
# Most admins prefer: man pages for balance of speed and detail
# Use --help when you already know the command well
# Use info when learning something new
Key Learning:
- Different resources serve different purposes
- Speed vs detail is always a trade-off
- man pages are the best balance for most tasks
Lab 3: Finding Documentation in /usr/share/doc (Intermediate)
Tasks:
- List all documentation directories
- Find documentation for bash
- Count how many packages have documentation
- Read a README file from any package
Click to reveal solution
# Task 1: List documentation directories
ls /usr/share/doc | head -20
# Task 2: Find bash documentation
ls -ld /usr/share/doc/bash-*
# View bash documentation
ls /usr/share/doc/bash-*/
# Task 3: Count packages with documentation
ls /usr/share/doc | wc -l
# Task 4: Read a README
ls /usr/share/doc/bash-*/README*
less /usr/share/doc/bash-*/README
# Bonus: Find all README files
find /usr/share/doc -name "README*" | head -10
Key Learning:
- /usr/share/doc contains valuable examples
- Package documentation is organized by package name
- README files are a goldmine for learning
Lab 4: Building Your Help Muscle Memory (Advanced)
Scenario: You need to find how to copy a directory recursively.
Tasks:
- Try to remember from memory first
- If unsure, check cp --help
- Read cp man page for detailed explanation
- Find examples in /usr/share/doc if any
- Document your learning process
Click to reveal solution
# Task 1: Try from memory
# Answer: cp -r source dest
# But let's verify...
# Task 2: Check --help quickly
cp --help | grep -i recursive
# Output: -r, -R, --recursive copy directories recursively
# Task 3: Read man page for details
man cp
# Press / and search for "recursive"
# Read the full explanation
# Learn: -r and -R are the same
# Learn: Also need -a to preserve attributes
# Task 4: Look for examples
find /usr/share/doc -name "*cp*" -type d
ls /usr/share/doc/coreutils-*/
# Task 5: Document what you learned
echo "=== Learning Log ==="
echo "Command: cp -r (recursive copy)"
echo "Alternative: cp -R (same as -r)"
echo "Best practice: cp -a (archive mode - preserves everything)"
echo "Time taken: 2 minutes"
echo "Resources used: --help, man page"
Key Learning:
- Building a systematic approach saves time
- Start quick (--help), go deep if needed (man)
- Document your learnings to remember better
Lab 5: The Help Challenge (Expert)
Challenge: For the next 7 days, solve every Linux question WITHOUT Google!
Tasks:
- Only use: man, info, --help, /usr/share/doc
- Keep a log of what you looked up
- Note which resource was most helpful
- Track how long searches take
- Measure improvement over the week
Click to reveal solution framework
# Create a learning log
cat > ~/help_learning_log.txt << 'EOF'
=== Linux Help Learning Log ===
Day 1:
- Question: How to find files by name?
- Resource used: man find
- Time taken: 3 minutes
- Answer found: find /path -name "pattern"
Day 2:
- Question: What's the difference between cp -r and cp -a?
- Resource used: man cp
- Time taken: 2 minutes
- Answer: -a preserves all attributes, -r just copies recursively
[Continue for 7 days...]
Summary:
- Most used resource: man pages (80% of searches)
- Average lookup time: Started at 5 min, ended at 1.5 min
- Biggest improvement: Learning to search efficiently in man pages
- Confidence level: Started 3/10, ended 8/10
EOF
# Daily practice routine
alias helplog='echo "$(date): " >> ~/help_learning_log.txt'
# Example daily entries
helplog "Question: Compress a directory"
man tar | grep -A5 "compress"
helplog "Answer: tar -czf archive.tar.gz directory/"
# Weekly review
echo "=== Week 1 Review ==="
echo "Questions answered: $(grep -c 'Question:' ~/help_learning_log.txt)"
echo "Man pages used: $(grep -c 'man ' ~/help_learning_log.txt)"
Key Learning:
- Forcing yourself to use only built-in help builds real skills
- You'll get frustrated at first - that's normal!
- By day 7, you'll be significantly faster and more confident
- This is the #1 way to prepare for the LFCS exam
๐ Best Practices
For Learning New Commands
- Start with --help for quick overview
- Read man page for complete understanding
- Practice immediately - don't just read, do!
- Check /usr/share/doc for real examples
- Build your own notes - write down what you learn
For Daily Admin Work
- --help first if you know the command
- man pages second if you need details
- Keep man pages open in a second terminal
- Build muscle memory - use help tools daily
- Never feel bad about checking documentation!
For LFCS Exam Preparation
- Practice finding answers under time pressure
- Get fast at navigating man pages (next post!)
- Know man page sections (also next post!)
- Practice WITHOUT internet access
- Time yourself - can you find an answer in under 60 seconds?
โ ๏ธ Exam Reality: You'll have access to all documentation during the LFCS exam, but internet access is limited or unavailable. Master offline help systems NOW!
๐จ Common Pitfalls to Avoid
Pitfall 1: Googling Everything
# BAD habit (doesn't work on exam!):
"How to copy directory Linux"
[Search Google...]
# GOOD habit (works everywhere):
man cp
# Search for "directory" or "recursive"
Fix: Force yourself to use local help first!
Pitfall 2: Not Knowing Which Help Resource to Use
# Inefficient:
info ls # Opens, but info less familiar
[Get confused, quit]
[Google instead]
# Efficient:
man ls # Quick, familiar, complete
[Find answer in 30 seconds]
Fix: Master man pages first - they're universal!
Pitfall 3: Reading Instead of Practicing
# BAD: Just reading
man cp
[Close terminal]
[Forget everything]
# GOOD: Read and practice
man cp
# Find -r option
cp -r /source /dest # Try it!
ls /dest # Verify it worked!
Fix: Always practice what you read immediately!
Pitfall 4: Giving Up Too Quickly
# BAD:
man find
[See 2000 lines]
"This is too much! I'll Google it."
# GOOD:
man find
[Press / to search]
/name
[Find what you need in 10 seconds]
Fix: Learn navigation keys (covered in next post)!
Pitfall 5: Assuming You Need Internet
The best Linux documentation is already on your system! You don't need internet to be productive. Trust the local documentation!
๐ Quick Reference
Help Resources Summary
# 1. Quick option check
command --help
# 2. Complete documentation
man command
# 3. GNU tool details
info command
# 4. Simple examples (if installed)
tldr command
# 5. Package documentation
ls /usr/share/doc/package-name/
Common --help Patterns
command --help # Standard
command -h # Short form (sometimes)
command -? # Alternative (less common)
command help # Some tools (e.g., git help)
Finding Help About Help
man man # How to use man pages
info info # How to use info
help # Bash built-in commands
type command # Check if command is built-in
๐ฏ Key Takeaways
-
Learning to find help is MORE important than memorizing commands
-
Five main help resources:
- --help (quick reference)
- man pages (primary documentation)
- info pages (detailed GNU docs)
- tldr (simple examples)
- /usr/share/doc (package docs)
-
man pages are your best friend - universal, comprehensive, always available
-
--help is fastest for quick option lookups
-
Practice offline help - critical for LFCS exam success
-
Build a systematic approach - know which resource to check first
-
Don't rely on Google - it won't be available during exams or emergencies
-
Practice makes perfect - the more you use help systems, the faster you get
๐ What's Next?
You now understand the Linux help system landscape! In the next two posts, we'll do a deep dive into man pages - the most important documentation system. You'll learn navigation, searching, understanding sections, and becoming a man page expert.
Coming up in Part 11: Mastering man Pages Part 1: Basics
- Understanding man page structure
- Navigation keys (Space, b, /, q)
- Searching within man pages effectively
- Reading SYNOPSIS sections correctly
- Understanding man page sections (1-9)
- And much more!
Coming up in Part 12: Mastering man Pages Part 2: Sections and Advanced Usage
- Deep dive into sections 1, 5, and 8
- man 5 passwd vs man 1 passwd
- Using man -k (apropos) to search
- mandb - updating the man page database
- Advanced man page techniques
๐ Congratulations! You've completed Part 10 of the LFCS Certification series. You now understand the landscape of Linux help resources and when to use each one. This is the foundation for becoming truly self-sufficient in Linux!
Challenge: For the next 3 days, solve every Linux question using ONLY local help resources. No Google! You'll be amazed at how much you learn.

