Ubuntu: How to delete all vpn connections



Question:

I would like to delete all saved vpn connections. I could delete them one-by-one (like shown in the imgage) but this would take forever as there are quite a few connections. Is there a fast way to delete them all in one go?

enter image description here


Solution:1

  1. Go to

    /etc/Network-Manager/system-connections  
  2. Remove the connections with this command

    sudo rm 3monkey*   

    This will remove all connections starting with name 3monkey

  3. Restart the network manager service

     sudo service NetworkManager restart   

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »