How to Install and Configure Nmcli

Reading Time: 4 minutes

What is nmcli?

nmcli stands for Network Management Command-Line Interface, and is a tool for managing the NetworkManager application and reporting on the status of the network. It can be utilized as a substitution for nm-applet or other similar graphical clients. nmcli is used to display, create, delete, edit, activate, deactivate network connections, and control and display network device status.

Typical uses include:

  • Scripts: Utilize NetworkManager via nmcli rather than managing network connections manually. nmcli supports a terse output format that is healthier fitted to the script process. Note that NetworkManager can even execute scripts, referred to as “dispatcher scripts,” responding to network events.
  • Servers, headless machines, and terminals: nmcli tool can be used to control NetworkManager without a graphical user interface, including creating, deleting, editing, starting and stopping network connections as well as viewing network status.
Continue reading “How to Install and Configure Nmcli”

How to use du

Reading Time: 3 minutesThanks to df, we know how to find information about the overall health of our disks, but we’re left to our own devices to find the details, specifically as to what’s taking up the most space.  The good news is that we’re in luck, as I’ve learned a trick from a great hunter that will help us through this task:  Just look for ducks!

Continue reading “How to use du”