一些强大的shell用法和脚本
(陈皓注:有点复杂了,history|awk ‘{print $2}’|awk ‘BEGIN {FS=”|”} {print $1}’|sort|uniq -c|sort -rn|head -10)
这行脚本能输出你最常用的十条命令,由此甚至可以洞察你是一个什么类型的程序员。tr -c “[:digit:]” ” ” < /dev/urandom | dd cbs=$COLUMNS conv=unblock | GREP_COLOR=”1;32″ grep color “[^ ]“
想看看Marix的屏幕效果吗?(不是很像,但也很Cool!)最后还是那句Shell的至理名言:“Where there is a shell,there is a way!”内容主要转自:http://coolshell.cn/articles/8619.html