2013年1月17日

linux中用到的命令

摘要: shell脚本: 1,date 命令: beg_s=`date -d "$datebeg" +%s` dateitem=`date -d @$beg_s +"%Y-%m-%d"` 其中,-d是将时间数据变成秒的形式。 但是,@不能少,是将变量变成制定格式! http://ba... 阅读全文

posted @ 2013-01-17 21:27 代码王子 阅读(116) 评论(0) 推荐(0)

导航