Help in Linux: --help and man
Updated July 3, 2026
--help prints a brief usage summary, while man opens the full manual.
Common cases
mkdir --help # a short reference in the terminal
man ls # the full manual, q to quit
man 5 passwd # section 5: a file format, not a command
apropos network # search man pages by keywordHow it works: man sections
The
manmanuals are split into numbered sections: 1 for user commands, 5 for file formats, 8 for admin commands. Soman 5 passwddescribes the/etc/passwdfile format, whileman 1 passwdis the password-changing command.--helpis built into the program itself and always at hand, whilemanlives as separate files on the system. The real skill is not memorising flags but finding them here quickly.
Used in
You need this in the lesson Getting help. The theory is the chapter Getting help: man and --help.
See also
Try it
Open the sandbox: a real throwaway Linux terminal in your browser. Run the commands above by hand - the container is deleted when you leave.