nmcli
nmcli -t -f RUNNING nm
Check NetworkManager is running or not.
nmcli nm wifi off
Turn wifi off
sudo nmcli nm sleep true
Disconnect from network
sudo nmcli nm sleep false
Connect to newtwork.
nmcli -f name,autoconnect con list
List of all saved network connections
Written by Behnam Ahmad khan beigi
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Terminal
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#