标签:动态
#!/bin/bash
tput civis
while [ 1 ]
do
tput clear
tput cup 3 10
tput setb 0
tput setf 2
echo -e "\e[1;32m$(date "+%Y-%m-%d %H:%M:%S %A")\e[0m"
sleep 1
done
#!/bin/bash
watch -n 1 ‘date +"%F %A %T"‘
标签:动态
原文地址:http://hiyang.blog.51cto.com/10728919/1792844