Shutdown wifi on linux by CLI

Photo by Hamish Clark / Unsplash

$ iwconfig wlan0 power off power management off
$ ifconfig wlan0 down put wifi interface down

In ubuntu you can using one line below instead:
$ nmcli radio wifi off

My RaspberryPi Server is now connecting to internet with cable. I do not need wifi connection anymore...

Related Article