Thursday, October 16, 2008

How to destroy all gif interfaces in FreeBSD

To destroy all gif interfaces in FreeBSD (vanilla Bourne shell):
for i in `ifconfig -a | grep gif | grep -v '%' | sed -n -e 's/\(.*\):.*/\1/p'`; do
ifconfig $i destroy
done

1 comment:

Unknown said...

Simon, I cannot find your email address on your blog so please email me at owkaye (at) gmail (dot) com if you and/or other hacker friends might like to join a new technology startup here in Cebu, thanks.