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
件名に記載されているエラーが表示されます。
あるサーバーから別のサーバーにスクリプトをコピーしたのですが、うまくいくはずだと思っていましたが、残念ながらそうではありませんでした。