在Linux 中,可以使用date 命令来获取昨天的日期。 下面是一个示例脚本,可以在shell 中输出昨天的日期: #!/bin/bash yesterday=`date -d "yesterday" +"%Y-%m-%d"` ...
確定! 回上一頁