Quantcast
Channel: LinuxConfig.net » Mail
Browsing all 2 articles
Browse latest View live

Sending mail from command line [Script]

Mail content text is /tmp/message.txt mail -s 'Server Status Report' george@example.com -c Jon@example.com < /tmp/message.txt Sending mail with attachment # !/bin/bash tar -zcf /tmp/backup.tar.gz...

View Article



Sending mail from bash [Script]

The mail command can be used under Linux or UNIX bash, ksh, csh shell to send an email. To send a message to one or more people, mail can be invoked with arguments which are the names of people to whom...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images