lastb命令
2013-06-14查看 /var/log/btmp,显示用户登陆的信息(show listing of last logged in users). 阅读全文...
redirect 重定向
2013-06-14Learn how to create a URL redirection with this HTML redirect code. 阅读全文...
SmartSniff capture TCP/IP packets tool
2013-06-14SmartSniff allows you to capture TCP/IP packets that pass through your
network adapter, and view the captured data as sequence of conversations
between clients and servers. You can view the TCP/IP conversations in
Ascii mode (for text-based protocols, like HTTP, SMTP, POP3 and FTP.) or
as hex dump. (for non-text base protocols, like DNS) 阅读全文...
Static Routing静态路由(Windows/Linux/Solaris)
2013-06-14现场网络环境的不同,需要在系统里增加路由时,为了防止机器重启或者网卡重启后路由失效,还需要根据系统使用不同的参数或配置文件: 阅读全文...
set -o vi
2013-06-14在配置文件.bash_profile中定义set -o vi则使bash命令行能模拟vi的操作。 阅读全文...
辨证法(Materialism)
2013-06-13有时候我们看电影,武侠飞燕走避,超人飞起来,子弹穿过来,科幻世界瞬间转移大法等...........其实我们稍稍了解一些辩证法,你就可以换个角度看问题。 阅读全文...
shell循环
2013-06-12shell脚本经常需要用到循环。在提示符下直接键入help将看到下面所有shell循环命令的基本用法。键入man bash会获得更多更详细相关信息。 阅读全文...
Linpack and Flops
2013-06-09Linpack现在在国际上已经成为最流行的用于测试高性能计算机FLOPS的benchmark. 阅读全文...
super computer超级计算机
2013-06-09超级计算机通常是指由数百数千甚至更多的处理器(机)组成的、能计算普通PC机和服务器不能完成的大型复杂课题的计算机。 阅读全文...
加解密及单向hash算法
2013-06-09加密算法还能这样分类。 阅读全文...
shell get md5 hash from a string
2013-06-08为了获取一个字符串的md5 hash,我们可以写一个md5脚本放到/bin下。在Shell中,调用函数时可以向其传递参数。在函数体内部,通过 $n 的形式来获取参数的值,例如,$1表示第一个参数,$2表示第二个参数... 阅读全文...
delete repeat files(删除重复文件)
2013-06-08shell查询并删除重复文件。 阅读全文...
shell创建6位lowercase字典
2013-06-08shell可以简单的创建一些我们需要的字典。 阅读全文...
oracle误删datafile
2013-06-08维护过程中应尽量避免误操作,多细心都不为过,细心细心再细心。 阅读全文...
grep几个小技巧
2013-06-08grep参数很多,有时候用到一两个参数会解决大问题。 阅读全文...