shell 中可以for 循环的时间加减日期格式
摘要:for num in {88..3};do # LAST_HOUR=`date -d '-${num} hour' +%H` 不可for循环,报格式错误 LAST_HOUR=`date "+%H" -d -${num}hour`
阅读全文
posted @
2018-11-21 18:22
山高似水深
阅读(1673)
推荐(0) 编辑
杀死 ps grep 出来的所有进程
摘要:ps -ef |grep HouseList_Day |awk '{print $2}'|xargs kill -9
阅读全文
posted @
2018-11-19 16:50
山高似水深
阅读(2329)
推荐(0) 编辑