Forrest logo
back to the whatis tool

whatis:tldr:91512

whatis: Display descriptions for all commands matching a glob.
$ whatis --wildcard ${net*}
try on your machine

The command "whatis --wildcard ${net*}" is used to search for the description of a command that matches a specific wildcard pattern starting with "net".

Here's a breakdown of the command:

  • "whatis" is a command used in Unix-like operating systems to display the concise description of a command.
  • "--wildcard" is an option used with the "whatis" command to allow the use of wildcard patterns in the search.
  • "${net}" is a wildcard pattern enclosed within curly braces. The "" is a wildcard character that matches any number of characters. In this case, it matches any command starting with "net".

When this command is executed, it will search for the description of any command that matches the wildcard pattern "net*". The output will be the concise description of each matching command found.

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 whatis tool