- Linux Commands
- How To Enable Or Disable Interface Linux Command
this short tutorial will show you exactly what commands to use in your linux shell command for disabling and enabling an interface port on your nic card for your network connections , Last Updated: Sun Jul 05, 2020
Thu Aug 12, 2010
welcome to Webune
We provide Linux hosting. if you are visiting us today, its probably because you want to know how you can disable an interface on your linux server. log in as superuser for these commands to work.
TO ENABLE AN INTERFACE (NIC PORT) - example eth0
ifconfig eth0 up
TO DISABLE AN INTERFACE (NIC PORT) - example eth1
ifconfig eth1 down
hope that works.