Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
任何人都可以从我正在使用的 bash 脚本中指出以下行有什么问题吗?
if [ "$(( $(date +"%s")-$(stat -c "%Y" $SENDDIR/$NIGHTLY_FILE) ))" -gt "3600" ]; then
我收到主题行中指出的错误。
我已将脚本从一台服务器复制到另一台服务器,认为它应该可以工作,但唉,不行。