#!/bin/bash
vorname="David"
nachname="Vajda"
if [[ "$vorname" == "$1" && "$nachname" == "$2" ]]
then
echo "Das bin ich"
elif [[ "$nachname" == "$1" && -z "$2" ]]
then
echo "das koennte einer von uns sein"
else
date
i=0
while [ $i -lt 8 ]
do
echo "Hallo zum $(($i+1))."
i=$(($i+1))
done
M=(a b c d)
M+=(e f g h)
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=0
for s in $l
do
echo "$s"
if [ $i -ge 8 ]
then
break
fi
i=$(($i+1))
done
/bin/bash "$0" "$vorname" "$nachname"
/bin/bash "$0" "$nachname"
fi
|
Fr 27. Dez 07:34:28 CET 2024 Hallo zum 1. Hallo zum 2. Hallo zum 3. Hallo zum 4. Hallo zum 5. Hallo zum 6. Hallo zum 7. Hallo zum 8. a b c d e f g h a b c d e f g h 3network 3network.c abakus2.c abakus3 abakus3.c a.out asm16 asmparser15.c asmparser16 Das bin ich das koennte einer von uns sein |