Schript zu Teil 20.

This commit is contained in:
2025-01-28 09:54:00 +01:00
parent 2be3db4187
commit 4e375b5d08
6 changed files with 39 additions and 0 deletions

14
teil20/mybang Executable file
View File

@@ -0,0 +1,14 @@
#! /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