Whoami Bash -Datei
if [[ "$(whoami)" != "any_name" ]]; then
echo "Only user 'any_name' can run this script."
exit 1
fi
Merwanski
if [[ "$(whoami)" != "any_name" ]]; then
echo "Only user 'any_name' can run this script."
exit 1
fi