Command-Line Help

Linux provides several commands that give help with the details of its many commands:

  • help: Gives a list of the shell commands, a subset of Linux commands including cd, alias, bg, jobs, and others. Type helpcommandname for details.

  • man: The man (manual) pages document all the programs on Linux. To see the details of any command, type mancommandname. If you don't know the name of the command you want, you can search all the descriptions using the -k option. For example, if you type man -k copy, a list of all commands that have copy in their description displays.

  • info: A program that displays online documentation via a hierarchical menu of topics that you can select. In addition, related information is hyperlinked. Info often ...

Get Spring Into Linux® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.