catchsegv:对开发者进行segfault的调试很有帮助
screen的老前辈:dislocate
对于那些熟悉程序“screen”的人来说,dislocate是一个“老前辈”。它是一个简洁的工具,可以让人们通过伪终端把程序分离出来,然后,当需要这些程序的时候,在重新挂载它们。这个工具是专门为那些缓慢或不稳定的终端会话(它们很容易中断)而提供的。
cat的倒影:tac
tac是一个命令行工具,它可以逆向地读取文件。对于那些日志筛选任务(在这种情况下,人们最感兴趣的是grep最新的条目)来说,它最合适不过了。
# cat /var/log/sip Target 1… DONE Target 2… DONE Target 3… DONE # tac /var/log/sip Target 3… DONE Target 2… DONE Target 1… DONE |
天气预测:weather
weather是一个基于expect的程序,它在终端上运行,从rainmaker.wunderground.com抓取天气信息。Wunderground通过端口3000来提供一个公用的天气服务。weather使用这个服务来获取城市的天气数据,然后在终端上显示出来。这是一个它运行时候的样例:
$ weather HOU <snip> Enter 3-letter city code: HOU Weather Conditions at 12:53 PM CST on 24 Dec 2010 for Houston Intercontinental, TX. Temp(F) Humidity(%) Wind(mph) Pressure(in) Weather ======================================================================== 63 70% ESE at 10 30.07 Overcast Forecast for Houston, TX 406 am CST Fri Dec 24 2010 .Today…Mostly cloudy with a 30 percent chance of showers. Highs in the upper 60s. Southeast winds 10 to 15 mph. .Tonight…Showers likely and isolated thunderstorms. Lows in the mid 40s. Northeast winds 5 to 10 mph in the evening becoming north and increasing to 15 to 20 mph after midnight. Chance of rain 70 percent in the evening decreasing to 60 percent after <snip> |
这就是它们的全体阵容!我希望本文会对你有所帮助!