Get comprehensive networking information from the command line.

Posted: October 15, 2017. At: 10:56 AM. This was 1 month ago. Post ID: 11458
Page permalink: http://securitronlinux.com/debian-testing/get-comprehensive-networking-information-from-the-command-line/

If you are using Network Manager to connect to a network, then it is possible to get comprehensive networking information from the command line.

This command will print a lot of information about your Network Manager configuration.

[email protected]:~$ nmcli dev show

Show a listing of available WIFI access points.

[email protected]:~$ nmcli device wifi
*  SSID                MODE   CHAN  RATE       SIGNAL  BARS  SECURITY  
   OPTUS58FFG69        Infra  7     54 Mbit/s  100     ▂▄▆█  WPA1 WPA2 
   Telstra6ED369       Infra  1     54 Mbit/s  47      ▂▄__  WPA2      
   OPTUS_B8E926        Infra  11    54 Mbit/s  37      ▂▄__  WPA1 WPA2 
   DEFINITIONFILMSVAN  Infra  11    54 Mbit/s  37      ▂▄__  WPA1 WPA2

Show the status of all network devices on your system.

[email protected]:~$ nmcli device status
DEVICE           TYPE      STATE         CONNECTION         
enp0s25          ethernet  connected     Wired connection 2 
wlx00173fc777dd  wifi      disconnected  --                 
enp3s0           ethernet  unavailable   --                 
lo               loopback  unmanaged     --

Show a list of all connections in your Network Manager configuration.

[email protected]:~$ nmcli connection show
NAME                UUID                                  TYPE            DEVICE  
Wired connection 2  4ec2ae72-5eb2-3f7b-987c-17e51198f3ef  802-3-ethernet  enp0s25 
Wired connection 1  6ce9343c-44b3-3506-a334-35144563767c  802-3-ethernet  --

These tips will be very helpful when using Network Manager on your Linux system. Good way to see connection information and list WIFI networks nearby.

No comments have been made. Use this form to start the conversation :)

Leave a Reply