sending directory contents and date via sendmail
I found out that I can pipe a command to the mail program, like this:
date | -s "hi, here is today's date" myaddress@me.com
Is there a way to include a directory listing (ll -t) as the message body?
date | -s "hi, here is today's date" myaddress@me.com
Is there a way to include a directory listing (ll -t) as the message body?
