commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
on this way we can define the body too
There are 2 alternatives - vote for the best!
Send it the easy way, with MIME and everything handled for you by an app that knows best.
Another way of sending an attachment.
-s : subject
file : file to be sent
This just reads in a local file and sends it via email. Works with text or binary. *Requires* local mail server.
if "mail -a" fail, try "mutt -a" or "nail -a"
uuencode the file to appear as an attachment
If you can do better, submit your command here.
You must be signed in to comment.