Test, wenn die Datei ausführbar ist, bash
if [ -x file ]; then
./file
else
echo "File is not executable"
fi
Alert Alligator
if [ -x file ]; then
./file
else
echo "File is not executable"
fi