Linux: Getting Help - Paiet/Tech-Journal-for-Everything GitHub Wiki

  • <command>
  • <command> ?
  • <command> -h or <command> --help
  • man <command>
    • Displays manual pages
    • man man
    • man -k <command> searches for alternatives
    • man <#> <command> for specific alternative
    • man -k passwd and man 5 passwd
  • Man file sections
    1. Executable programs or shell commands
    2. System calls
    3. Library calls
    4. Special files
    5. File formats and conventions
    6. Games
    7. Overviews, conventions, and miscellaneous
    8. Super user and system administration commands
    9. Kernel routines
  • info <command>
    • Displays styled manual page
    • info info
  • apropos <string>
    • Searches for a string in manual pages
    • Useful when you don't know the command name
    • apropos shell
⚠️ **GitHub.com Fallback** ⚠️