command --help vs man command

6,939

Help is a built-in "usage" of the command, and not all commands implement it, or at least not the same way, however, man is a command by itself which is a pager program that reads manual. For more info issue the man man for the manual pages for the man command.

You should use man every time you need additional information about a command, as well with the info command, that reads info documents.

Share:
6,939

Related videos on Youtube

Mitten
Author by

Mitten

Updated on September 18, 2022

Comments

  • Mitten
    Mitten over 1 year

    What is the difference between invoking the help using a --help key compared to invoking a "man command"?

    When should I choose one over another.