Forrest logo
back to the man tool

man:tldr:63f50

man: List all available sections for a command.
$ man --whatis ${command}
try on your machine

The command "man --whatis ${command}" is used to display a short description or summary of the specified command.

Here's how it works:

  • "man" is the command to display the manual pages in Unix-like operating systems.
  • "--whatis" is an option or flag that tells the "man" command to display a short description or summary of the command.
  • "${command}" is a placeholder for the actual command you want to get information about. You need to replace "${command}" with the actual command you want to know more about.

When you execute this command in the terminal or command prompt, it will search the system's manual pages database for the specified command and display a brief summary of it. It's a quick way to get an idea of what a specific command does without having to go through the entire manual page.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the man tool