ip addr del 127.0.0.1/8 dev lo
-- deletes the loopback address from the loopback device. It would be best not to repeat this experiment.
eth0
:
while ip -f inet addr del dev eth0; do : nothing doneAnother method to disable IP on an interface using ip addr flush may be found in sec.5.4, p..