Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the use of the nmcli command in Linux

Shulou Source: shulou.com Published: 2022-06-01 18:30:37 11月13日 Update

This article mainly shows you "what is the use of the nmcli command in Linux", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "what is the use of nmcli command in Linux" this article.

The Linux common command nmcli command is the NetworkManager client network management client.

Nmcli address configuration tool

Syntax nmcli [OPTIONS] OBJECT {COMMAND | help} option OPTIONS-t [erse] # terse output concise output-p [retty] # pretty output beautiful output-m [ode] tabular | multiline # output mode output mode-f [ields] | all | common # specify fields to output specifies the input Output field-e [scape] yes | no # escape columns separators in values escapes the column delimiter in the value-n [ocheck] # do not check nmcli and NetworkManager versions-a [sk] # requires missing parameter-w [ait] # set timeout to wait for finishing operation-v [ersion] # display program version-h [elp] # print the general status and operation of OBJECT g [eneral] NetworkManager n [etworking] overall networking control r [adio] Connection of NetworkManager switch c [onnection] NetworkManager d [evice] device managed by NetworkManager a [gent] NetworkManager secret agent or polkit agent instance nmcli connection show # View current connection status nmcli connection reload # restart service nmcli connection show-active # display active connection nmcli connection show "lan eth0" # shows a specified network connection configuration Set nmcli device status # display device status nmcli device show eno16777736 # display specified interface properties nmcli device show # display all interface properties nmcli con up static # enable static connection configuration nmcli con up default # enable default connection configuration nmcli con add help # check the help above is "what is the nmcli command in Linux? Use all the contents of this article Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Commands help output configuration content status articles properties interfaces versions networks devices agents learning management beauty simplicity delimiters parameters addresses Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Shulou Technology Huawei macOS NVidia