#!/bin/bash unboundctl=$(which unbound-control) if [ "$?" != "0" ]; then #Unbound control executable doesn't exist exit fi echo '<<>>' $unboundctl stats