software:linux:usefullcommands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software:linux:usefullcommands [2021/01/03 21:03] – [ifconfig has been largely replaced by the ip command] superwizard | software:linux:usefullcommands [2022/09/10 17:05] (current) – [command-line client for NetworkManager] superwizard | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | ====== command-line client for NetworkManager ====== | ||
+ | |||
+ | nmcli is a command-line client for NetworkManager. It allows controlling NetworkManager and reporting its status. For more information please refer to nmcli(1) manual page. | ||
+ | |||
+ | The purpose of this manual page is to provide you with various examples and usage scenarios of nmcli. | ||
+ | |||
+ | $ nmcli device wifi list | ||
+ | |||
+ | \* SSID | ||
+ | | ||
+ | \* F1 | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
====== ifconfig has been largely replaced by the ip command ====== | ====== ifconfig has been largely replaced by the ip command ====== | ||
Line 9: | Line 36: | ||
I understand this may look complicated to some people, but the jist of it is to understand that with ip, you interact with objects, and apply some kind of function to it. For example: | I understand this may look complicated to some people, but the jist of it is to understand that with ip, you interact with objects, and apply some kind of function to it. For example: | ||
- | ip address show | + | |
This is the main command that would be used in place of ifconfig. It will just display the IP addresses assigned to all interfaces. To be precise, it will show you the layer 3 details the interface: the IPv4 and IPv6 addresses, whether it is up, what are the different properties related to the addresses… | This is the main command that would be used in place of ifconfig. It will just display the IP addresses assigned to all interfaces. To be precise, it will show you the layer 3 details the interface: the IPv4 and IPv6 addresses, whether it is up, what are the different properties related to the addresses… | ||
Line 15: | Line 42: | ||
Another command will give you details about the layer 2 properties of the interface: its MAC address (ethernet address), etc; even if it is shown by ip address: | Another command will give you details about the layer 2 properties of the interface: its MAC address (ethernet address), etc; even if it is shown by ip address: | ||
- | ip link show | + | |
Furthermore, | Furthermore, | ||
- | ip link set DEVICE up or ip link set DEVICE down | + | |
From < | From < |
software/linux/usefullcommands.1609707820.txt.gz · Last modified: 2021/01/03 21:03 by superwizard