linux时间格式化

echo `date +'[%Y-%m-%d %H:%M:%S]'`

  

posted @ 2017-04-17 11:14  Lost blog  阅读(324)  评论(0)    收藏  举报