#!/bin/sh if mozilla -remote "ping()" ; then mozilla -remote "openURL(http://www.google.com/intl/cs/, new-window)" else mozilla fi