运维网's Archiver
论坛
›
Shell/Powershell
› bash shell 数字时间钟表
zhanghong
发表于 2018-8-24 07:34:14
bash shell 数字时间钟表
#!/bin/sh
tput civis
while true
do
tput sc
#tput clear
tput cup 17 10
echo -n $(date +%Y)/$(date +%B)/$(date +%d) $(date +%H):$(date +%M):$(date +%S)
sleep 1
tput rc
done
页:
[1]
查看完整版本:
bash shell 数字时间钟表