Help with a bash script

I've been learning some bash scripting in the past few weeks, but I'm stumped here.

I want to create a script to execute multiple "locate" commands.
Such as:

locate blah.cgi

locate mypornsafe.exe

etc. Then email me the results. I would have to cronjob it, and I think it would be set.

I'm basically stuck on, is it possible to email me the results? Or would it be better to dump it to a file?

Thanks on any input.

 

 

 

 

Top