shell脚本获取当前时间
摘要:举个栗子#! /bin/bashdate1=`date +%Y-%m-%d` #这里用反引号引起来,反引号在键盘左上角第一个哟time1=`date +%H:%M:%S`echo "start at $date1 $time1"
阅读全文
posted @ 2014-08-26 10:45
posted @ 2014-08-26 10:45
posted @ 2014-08-26 10:41
posted @ 2014-08-25 17:06
posted @ 2014-08-22 09:40