![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
文章平均质量分 63
dujinfang7
《FreeSWITCH权威指南》、《Kamailio实战》作者。XSwitch.cn 创始人。FreeSWITCH中文社区创始人。
展开
-
使用ImageMagick快速生成带文字的图片
分享一点小技巧。原创 2023-02-05 08:55:46 · 692 阅读 · 0 评论 -
在 Shell 中统计代码行数
前两天需要统计一下代码的行数,找到一些有意思有脚本。人的智慧真是无穷无尽啊,有 shell 的, AWK 的, Perl 的,Python 的之类。[url]http://stackoverflow.com/questions/450799/shell-command-to-sum-integers-one-per-line[/url][url]http://stackoverfl...原创 2013-02-19 11:06:51 · 128 阅读 · 0 评论 -
用Shell命令看看你是一个什么样的程序员
找到一个有意思的命令,可以看你是一个什么样的程序员。来自 [url]http://coolshell.cn/articles/8619.html[/url][code="shell"]history | awk '{CMD[$2]++;count++;} END \{ for (a in CMD )print CMD[a] " " CMD[a]/count*100 "% " a }' ...原创 2013-02-19 11:09:21 · 190 阅读 · 0 评论 -
在linux mail命令中使用自定义From地址发送邮件
测试使用不同的 Envelope 地址发送邮件,Google了一下发现有好多种方案,不过网上说的 -S 及 -a 开关在我的 CentOS 5 版上好像没有。最后找到了一种可用的方案[code]mail to@example.com -- -f from@example.com[/code]这样就可以使用 from@example.com 作为 From: 字段的地址了。...2013-02-21 14:24:47 · 580 阅读 · 0 评论