remove wifi network with terminal on mac

Issue: Your mac always auto-connects to xfinitywifi and you can’t easily remove it because you have hundreds of wifi connections in the list on your mac.

Solution: remove it with terminal using the following terminal commands:

networksetup -removepreferredwirelessnetwork en0 xfinitywifi

You may will need to use “sudo” to elevate your permissions.

Related

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.