摘要: DATE=`date '+%m/%d/%Y'`TIME=`date '+%H:%M:%S'` sed -i '1i1***** start*****' test.kshsed -i '2i\ REPORT ID : START' test.kshsed -i '3i\ REPORT TITLE : 阅读全文
posted @ 2017-10-09 18:21 kakaisgood 阅读(144) 评论(0) 推荐(0) 编辑
摘要: In Bash: get year-month-day from date DATE=`date +%Y-%m-%d`get year-month-day hour:minute:second from date DATE=`date '+%Y-%m-%d %H:%M:%S'` 阅读全文
posted @ 2017-10-09 17:22 kakaisgood 阅读(335) 评论(0) 推荐(0) 编辑
摘要: export PATH=$PATH:/opsware/agent/bin/ 2种方式运行 python 1. 2. 阅读全文
posted @ 2017-10-09 15:13 kakaisgood 阅读(121) 评论(0) 推荐(0) 编辑