shell 脚本每隔一段时间打印当前系统时间

来源:互联网 发布:焦土抗战 知乎 编辑:程序博客网 时间:2024/04/27 08:06
#!/bin/bash
date
while [0]
sleep 3600
do
date

done