#!/bin/bash vorname="David" nachname="Vajda" if [[ "$vorname" == "$1" && "$nachname" == "$2" ]] then echo "Das bin ich" elif [[ "$vorname" == "$1" && -z "$2" ]] then echo "Das koennte ich sein" else date i=0 while [ $i -lt 10 ] do echo "Hallo zum $(($i+1))." i=$(($i+1)) done M=(1 2 3 4) M+=(5 6 7 8) i=0 while [ $i -lt 8 ] do echo "${M[$i]}" i=$(($i+1)) done for s in "${M[@]}" do echo "$s" done l=$(ls) i=8 for s in $l do echo "$s" i=$(($i-1)) if [ $i -le 0 ] then break fi done /bin/bash "$0" "$vorname" "$nachname" /bin/bash "$0" "$vorname" fi |