#!/usr/bin/sh
for f in `ls ~/*.txt`;
do
 #echo $f
 du -s $f
done
#!/usr/bin/sh
echo "enter number>>"
read n
echo $n
for f in `ls ~/*.txt`;
do
 size=`du -s $f | cut -f 1`
 if [ $size -gt $n ]; then
   echo "File found $f  size=$size, n=$n"
   fi
done
#!/usr/bin/sh
t="text"
n="new"
x=".txt"
for i in `seq 1 5`; 
do
  echo $t$i$x
  touch backup/$t$i$x
  mv backup/$t$i$x backup/$n$i$x
done
#!/usr/bin/sh
pw="abc"
count=0;
echo "enter passwort>>"
read in
echo $in
while [ $in != $pw ] && [ $count -le 3 ]; do
   count=$((count+1))
   echo "Passwort ist Falsch $count"
   echo "enter passwort>>"
   read in
done
#!/bin/sh
b="backup"
echo "Create $b"
mkdir $b 
