1 2 3 4 5 6
#!/usr/bin/bash if [[ "$@" == "" ]]; then echo "No command given, exiting ..." exit 1 fi $@