摘要:
grep 或 egrep 或awk 过滤两个或多个关键词: grep -E ‘123|abc’ filename // 找出文件(filename)中包含123或者包含abc的行 egrep ‘123|abc’ filename //用egrep同样可以实现 awk ‘/123|abc/’ file 阅读全文
posted @ 2016-06-05 23:23
沧海一滴
阅读(40838)
评论(0)
推荐(1)
摘要:
用的是最新的jedis-2.6.2.jar这个包,这个和以前的有点不同。还需要添加spring-data-redis-1.2.1.RELEASE.jar和commons-pool2-2.3.jar。 在类路径下创建spring-redis-config.xml文件 由于引用配置文件,使用不了表达式, 阅读全文
posted @ 2016-06-05 23:02
沧海一滴
阅读(364)
评论(0)
推荐(0)
摘要:
羡慕Windows下secureCRT的Session Copy功能,一直在寻找Linux下类似的软件,殊不知SSH本身就支持此功能。 特别感谢阿干同学的邮件分享。 详细方法 1 2 3 4 Linux/mac下,在$HOME/.ssh/config中加入 Host * ControlMaster 阅读全文
posted @ 2016-06-05 23:00
沧海一滴
阅读(1285)
评论(0)
推荐(0)
摘要:
As I sometimes need these, I have compiled a list of the valid headers of the web.xml and web-fragment.xml file for servlet version 2.3 until 3.0.Mayb 阅读全文
posted @ 2016-06-05 18:02
沧海一滴
阅读(227)
评论(0)
推荐(0)
摘要:
感谢Linux Story的投递 Tiny Core Linux 是一个极度简约但是也高度可扩展的 GNU/Linux 发行版,其之精简甚至可以小到只有 10MB 大小,昨天 5月23日刚刚发布的 Tiny Core Linux 7.1 也仅仅只有区区 11.7 MB 大小而已,体积之小实在令人叹为 阅读全文
posted @ 2016-06-05 17:20
沧海一滴
阅读(1675)
评论(0)
推荐(0)