erste Scripts für Teil 11 (if)
This commit is contained in:
14
teil11/and.sh
Normal file
14
teil11/and.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#and.sh
|
||||
|
||||
counter='1'
|
||||
|
||||
echo "${counter}"
|
||||
let counter=counter+1
|
||||
echo "${counter}"
|
||||
let counter=counter+1
|
||||
|
||||
if [ ${counter} -eq 3 ] && [ ${counter} -gt 2 ]; then
|
||||
echo "drei"
|
||||
fi
|
||||
let counter=counter+1
|
||||
echo "${counter}"
|
Reference in New Issue
Block a user