Introduction to Linux Help Systems for LFCS Certification

Master Linux help systems for LFCS. Learn when to use man pages, info, --help, tldr, and /usr/share/doc. Discover how to become self-sufficient in Linux and find answers quickly with comprehensive examples.

20 min read

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:

ResourceBest ForWhen to UseSpeed
--helpQuick option referenceNeed to check available options fastโšก Instant
man pagesComplete command referenceNeed detailed info about command/config fileโšกโšก Very Fast
info pagesDetailed GNU program docsNeed comprehensive guide for GNU toolsโšกโšก Fast
tldrPractical examplesWant quick examples of common use casesโšก Instant
/usr/share/docPackage documentation, examples, READMEsNeed 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

  1. Instant - No page loading or navigation
  2. Always available - Built into commands
  3. Concise - Shows just what you need
  4. 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:

  1. NAME - Command name and brief description
  2. SYNOPSIS - Command syntax
  3. DESCRIPTION - Detailed explanation
  4. OPTIONS - All available options explained
  5. EXAMPLES - Usage examples (sometimes)
  6. FILES - Related configuration files
  7. SEE ALSO - Related commands
  8. AUTHOR - Who wrote it
  9. 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

Featureman Pagesinfo Pages
CoverageNearly all commandsMainly GNU utilities
StructureSingle page, linearHyperlinked, tree-structured
Detail LevelReference documentationTutorial + reference
NavigationScroll up/down, searchLinks, nodes, menus
Best ForQuick lookup, all commandsLearning 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 information
  • README.md - Markdown formatted readme
  • INSTALL - Installation instructions
  • CHANGELOG - Version history
  • AUTHORS - Who created it
  • LICENSE - Usage terms
  • examples/ - Configuration examples
  • NEWS - 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:

  1. Use --help to find the option for creating a directory with parents
  2. Find the ls option to show human-readable sizes
  3. Check passwd --help for the lock option
  4. 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:

  1. Check ls with --help, man, and info
  2. Compare the level of detail in each
  3. Note how long it takes to find the -a option explanation
  4. 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:

  1. List all documentation directories
  2. Find documentation for bash
  3. Count how many packages have documentation
  4. 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:

  1. Try to remember from memory first
  2. If unsure, check cp --help
  3. Read cp man page for detailed explanation
  4. Find examples in /usr/share/doc if any
  5. 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:

  1. Only use: man, info, --help, /usr/share/doc
  2. Keep a log of what you looked up
  3. Note which resource was most helpful
  4. Track how long searches take
  5. 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

  1. Start with --help for quick overview
  2. Read man page for complete understanding
  3. Practice immediately - don't just read, do!
  4. Check /usr/share/doc for real examples
  5. Build your own notes - write down what you learn

For Daily Admin Work

  1. --help first if you know the command
  2. man pages second if you need details
  3. Keep man pages open in a second terminal
  4. Build muscle memory - use help tools daily
  5. Never feel bad about checking documentation!

For LFCS Exam Preparation

  1. Practice finding answers under time pressure
  2. Get fast at navigating man pages (next post!)
  3. Know man page sections (also next post!)
  4. Practice WITHOUT internet access
  5. 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

  1. Learning to find help is MORE important than memorizing commands

  2. Five main help resources:

    • --help (quick reference)
    • man pages (primary documentation)
    • info pages (detailed GNU docs)
    • tldr (simple examples)
    • /usr/share/doc (package docs)
  3. man pages are your best friend - universal, comprehensive, always available

  4. --help is fastest for quick option lookups

  5. Practice offline help - critical for LFCS exam success

  6. Build a systematic approach - know which resource to check first

  7. Don't rely on Google - it won't be available during exams or emergencies

  8. 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.

Owais

Written by Owais

I'm an AIOps Engineer with a passion for AI, Operating Systems, Cloud, and Securityโ€”sharing insights that matter in today's tech world.

I completed the UK's Eduqual Level 6 Diploma in AIOps from Al Nafi International College, a globally recognized program that's changing careers worldwide. This diploma is:

  • โœ… Available online in 17+ languages
  • โœ… Includes free student visa guidance for Master's programs in Computer Science fields across the UK, USA, Canada, and more
  • โœ… Comes with job placement support and a 90-day success plan once you land a role
  • โœ… Offers a 1-year internship experience letter while you studyโ€”all with no hidden costs

It's not just a diplomaโ€”it's a career accelerator.

๐Ÿ‘‰ Start your journey today with a 7-day free trial

Related Articles

Continue exploring with these handpicked articles that complement what you just read

More Reading

One more article you might find interesting