#!/bin/bash # https://www.davidvajda.de/viewtopic.php?p=1670#p1670 firstname="David" name="Vajda" if [[ "\$firstname" == "\$1" \&\& "\$name" == "\$2" ]] then echo "Das bin ich" elif [ "\$firstname" == "\$1" ] then echo "Das bin wahrscheinlich ich" else echo "Das bin ich nicht" fi