I’m currently busy with creating an auto-mounting script for my mp3 files. When it’s completed, I’ll show/explain it to you. Meanwhile when googling for more info about shell programming I discovered some nice tips and tricks. Let me share it with you:
Find out which commands you use most often (a oneliner):
$ history|awk ‘{print $2}’|awk ‘BEGIN {FS=”|”}
{print $1}’|sort|uniq -c|sort -rn|head -10
Find out top 10 directories eating up your disk space:
$ du -cks * | sort -rn | head -10
A nice starter article about shell programming can be found at LinuxFocus.
If you want to do more with the file system, this is a nice FAQ.

