Script Logik
Alle wichtigen Bash Kondizionen und ihre Anwendung
If, Elif, Else
#!/bin/bash read -p "Enter your Age: " AGE if [ $AGE -ge 80 ] then echo "You are very old...
Case
#!/bin/bash read -p "systemctl <your input> nginx" systemctl_cmd case "$systemctl_cmd" in ...
Funktion
#!/bin/bash #Function <-- Description function delete_file { rm $1 } #Script to call fu...
While
Inkrementelle Schlaufe #!/bin/bash i=0 while [ $i -lt 3 ] do echo $i ((i++)) done ...