SYS-ADMIN
Sunday, 16 March 2014
Send a file as an email attachment using Linux command line
mailx program does not have an option for attaching a file. You could use another program such as mutt.
bash # echo "messages file" | mutt -a messages.16-03-2014.tar.gz -s "messages file" abcd@gmail.com
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment