$ networksetup -listallnetworkservices | grep STARTING-NETWORK-NAME | sed s/*// | while read -r service; do networksetup -deletepppoeservice $service; done
Created
January 25, 2022 15:48
-
-
Save simonemarra/8f846b0627cb7298867e0eed6919f9f9 to your computer and use it in GitHub Desktop.
MACOS | delete network services from terminal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
credits:
https://apple.stackexchange.com/questions/349424/delete-many-network-configurations-at-once#comment459187_349581