Command line mailing in Linux

Mail a file with a subject and attach a file.

mail -s "Subject goes here" 'email addresses here, comma separated if more than one' < /path/to/filetoattachment

Comments

Popular posts from this blog

Database, schema, and table sizes in Greenplum

Greenplum update with multiple tables

Show running queries on Postgresql/Greenplum