linux得到系统当前日期

#/bin/sh
#取系统时间

vDate=`date +%Y%m%d`

echo $vDate

echo "成功"

原文地址:https://www.cnblogs.com/jiangqingfeng/p/9066410.html