I'm sharing my internet in work and forgot to turn it off! Does anyone know how I can do it via the command line? I have SSH access but thats it. D'oh.
Tell me more
×
Ask Different is a question and answer site for
power users of Apple hardware and software. It's 100% free, no registration required.
|
|
You could use this to turn it off:
And if you want to get it back up, just type up, instead of down Just make sure that en1 is the right interface or you can easily kill off your ssh access :) P.S. As Lri noted in the comments below, you can quickly disable the correct network interface with just 1 line:
This will detect the correct Airport/wireless device and will turn it off |
||||
|
