How to disable Wifi using Ubuntu command line interface

There is a great command line tool that comes with Ubunutu called “nmcli”

Here is how to disable the Wifi radio:

sudo nmcli r all off

and for everything else it is easy to get help by typing

nmcli help

or about a specific thing like

nmcli radio help

Author: sirspot

I write software, love my wife and kids, do various house projects, play video games when I have time, and could use a little more sleep