#!/bin/bash if [ -n "`which firefox`" ]; then firefox elif [ -n "`which iceweasel`" ]; then iceweasel elif [ -n "`which google-chrome`" ]; then google-chrome else exit 1 fi