Heath SchweitzerHeath Schweitzer
← All posts

disable or enable an ethernet interface

February 12, 2012|Heath Schweitzer|1 min read|42 views|Last Updated June 20, 2026

LinuxMac

I've been using the linux command line for enabling or disabling an ethernet interface for so long now, I'm having trouble remembering the difference on Mac OS X. Linux is handled as follows:

sudo ifup eth0

sudo ifdown eth0

The Mac OS X equivalent of this is:

sudo ifconfig en0 up

sudo ifconfig en0 down

Tagged

linuxdisable ethernetmac os x

If this post was useful, consider buying me a coffee ☕ with ₿itcoin — no account needed, any amount welcome.

Bitcoin tip QR code
⚡ Open in Wallet