随笔分类 -  Shell

#! /bin/bash
摘要:提示: 国际惯例使用前先备份sed -i "s/a/b/g" `grep 'a' -rl ./` 阅读全文
posted @ 2015-02-07 17:58 Debm.Zhang 阅读(240) 评论(1) 推荐(0)
摘要:转自http://blog.chinaunix.net/uid-26959241-id-3207711.html详细文档请 man bc在windows下,大家都知道直接运行calc,(c:\windows\system32\calc.exe),请可以打开计算器。注:calculate vt.&vi... 阅读全文
posted @ 2014-09-04 11:21 Debm.Zhang 阅读(951) 评论(0) 推荐(0)
摘要:#! /bin/bashtime=`date '+%Y-%m-%d %H:%M:%S'`# echo $timesql='SELECT `username`, `password` FROM `user` WHERE `expire_date` 0;'echo $sql 阅读全文
posted @ 2014-08-20 18:02 Debm.Zhang 阅读(370) 评论(0) 推荐(0)