other bash command primer stuff

Extract some important bits from the Apache Log and format with awk

cat access_log | grep GET | awk ' { print $1 ":" $4 ":" $7 } ';

Search and rename a list of files with sed because its quicker than trying to rename then with explorer

for i in `ls | grep serverlogs`; do echo $i | sed -e 's/log/.txt/'; done

Find all files bigger than x in a file directory because they are taking too much room

find /daten/ -size +100000k >> bigstuff.log

Send a mail without starting outlook

echo "done" | mail -s "Finished" someone@somewhere.email