Mu博分享 http://blog.sciencenet.cn/u/ywmucn https://blog.nanomat.top/

博文

Linux下发送邮件

已有 2565 次阅读 2011-9-30 22:59 |个人分类:脚本|系统分类:科研笔记| Linux, 发送邮件

1. 把a.txt的内容发给 b@163.com,主题为 message
 mail -s "message "  b@163.com < a.txt
2. 将a.txt当作附件发出
 uuencode a.txt a.txt | mail -s "message "  b@163.com 
3. echo "good" | mail -s "message "  b@163.com 


https://blog.sciencenet.cn/blog-588243-492191.html

上一篇:VASP OUTCAR文件中的关键字介绍
下一篇:awk 判断并赋值
收藏 IP: 115.24.3.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-7-18 05:43

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部