Forrest logo
back to the nmcli tool

nmcli:tldr:7e6f5

nmcli: Display help for a subcommand.
$ nmcli ${subcommand} --help
try on your machine

The command "nmcli ${subcommand} --help" is used to get the help information and list the options and arguments associated with a specific nmcli subcommand.

Here's a breakdown of each aspect of the command:

  • "${subcommand}": This is a placeholder that represents the specific subcommand name you want help information for. In the actual command, you need to replace "${subcommand}" with the actual subcommand name. For example, if you want help information for the "connection" subcommand, the command becomes "nmcli connection --help".

  • "nmcli": This is the command-line interface tool for NetworkManager, a software utility that manages network connections on Linux-based operating systems.

  • "--help": This option is used to display the help information for the given subcommand. When you include "--help" in the command, it will provide a detailed explanation of how to use the specific nmcli subcommand, including descriptions of available options and arguments.

By running this command, you can quickly access the help documentation for a specific subcommand within nmcli, enabling you to better understand its functionality and utilize it effectively.

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