1、date
date
2、echo
echo $(date +%F%n%T)
输出年月日:echo $(date +%F)
输出时分:echo $(date +%R)
输出时分秒:echo $(date +%T)
输出星期:echo $(date +%A)
标签:输出,+%,打印,echo,当前,Linux,date From: https://www.cnblogs.com/black-sheep/p/18036492
1、date
date
2、echo
echo $(date +%F%n%T)
输出年月日:echo $(date +%F)
输出时分:echo $(date +%R)
输出时分秒:echo $(date +%T)
输出星期:echo $(date +%A)
标签:输出,+%,打印,echo,当前,Linux,date From: https://www.cnblogs.com/black-sheep/p/18036492