![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
每天一点shell
lili_wuwu
这个作者很懒,什么都没留下…
展开
-
shell时间处理整理
关于shell的时间问题: 先看几个小例子#!/bin/bash v_date=`date` echo "${v_date}"输出当天日期 #!/bin/bash v_date=`date '+%Y-%m-%d'` echo "${v_date}"#!/bin/bash v_date=`date +%Y-%m-%d` echo "${v_date}"输出当天日期控制格式为%Y-%m-%d 有无原创 2016-07-12 22:56:56 · 694 阅读 · 0 评论 -
shell 时间
#-- ********************************************* #-- 内容: #-- 开发人员: #-- 开发日期: #-- 版本:V #-- 修改时间: #-- 修改人: #-- ********************************************** #!/bin/bash source /etc/profile log=/LOG/...原创 2018-11-19 14:12:40 · 917 阅读 · 0 评论