Files
bash-tut/teil20/mybang
2025-01-28 09:54:00 +01:00

15 lines
223 B
Bash
Executable File

#! /usr/bin/bash
# Datei: mybang
echo "0:${0}"
echo "1:${1}"
echo "2:${2}"
if [[ "${USER}" == "pi" ]]; then
echo "User pi darf python ausführen."
python ${1}
else
echo "Du darfst kein Python ausführen."
fi