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

Reply via email to