NetNeanderthal Tue, 18 Apr 2006 19:29:28 -0700
On 4/18/06, Han Boetes <[EMAIL PROTECTED]> wrote: > More ellegant is: > > if ! ifconfig -a | grep -q tun0; then
Yet another way to write this: (Though not quite as readable?) ifconfig tun0 >/dev/null 2>&1 && ifconfig $_ destroy