$ mailme(){ mailx -s “$@” $USER <<< "$@"; }
Usage: mailme message
This is a useful function if you want to get notified about process completion or failure. e.g.
mailme “process X completed”
View this command to comment, vote or add to favourites
View all commands by sharfah

by David Winterbottom (codeinthehole.com)






















0 Comments
You can be the first one to leave a comment.