Hello,
Attached are some scripts I've been working on, with a couple warnings.
1. Don't blindly run these, it may cause damage.
2. It's not even half done, and doesn't do anything yet.
Which is a good thing, because I wouldn't want to hand you your final. I just wrote this off the top of my head. I haven't had time to finish or even test run any of it, but there's a lot of examples in here that you will need in the real world.
These are used to manage web servers. A good project would be to write a simple script that added domains to a web server by creating the required directories and config files.
If you really want to stay with .mp3's here's your project.
updatedb; for i in `locate *.mp3` ; do echo removing $i ; rm -f $i ; done
Here's another that takes longer
for i in `find /. -name '*.mp3'`; do echo removing $i ; rm -f $i ; done
Notice the for loop? If you pass too many arguments to a command it may cause it to exit. For example,
rm -f `locate *.mp3`
Is a very very bad thing to get into the habit of.
Have fun. Scripting is probably the most important thing you can learn to administrate linux machines. You will want to bookmark this site as well
http://tldp.org/LDP/abs/html/
*edit start with the adddomain file and work from there. Some of the other scripts are just generic for my environment.