Internet Sharing Status

Joined
Oct 4, 2010
Messages
5
Reaction score
0
Points
1
If there a way to see if internet sharing has been enabled via command line,
maybe defauls read the plist

Thanks
a
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,765
Reaction score
2,106
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Code:
ps -ax | grep InternetSharing

If this command returns a line containing InternetSharing, then it's enabled. if you just see the "grep IntenetSharing" line and not another line, then it's not enabled.

Read more here.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top