【发布时间】:2019-10-25 19:22:59
【问题描述】:
下面的程序是做什么的?
if [ -f /tmp/monfichier ]
then
echo `date "+%Y%m%d" `
fi
【问题讨论】:
-
见stackoverflow.com/questions/15511690/shell-scripting-if-f-file(或像我刚才那样使用谷歌)和
man date!?
标签: shell if-statement unix unix-timestamp