4918
5880
3万
GROAD
曲径通幽,安觅芳踪。
root@bt:~# tput cols 126 root@bt:~# tput lines 30
root@bt:~# tput longname X11 terminal emulator
root@bt:~# tput sc; tput cup 20 60; echo "input from tput/echo at 20/60"; tput rc
0:黑色 1:蓝色 2:绿色 3:青色 4:红色 5:洋红色 6:黄色 7:白色
您需要 登录 才可以下载或查看,没有帐号?立即注册
使用道具 举报
#!/bin/sh echo -n Second: tput sc sec=0; while true do if [ $sec -lt 59 ]; then let sec++; sleep 1; tput rc tput ed echo -n $sec; else sec=0; fi done
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|Archiver|曲径通幽 ( 琼ICP备11001422号-1|公安备案:46900502000207 )
GMT+8, 2024-6-2 17:36 , Processed in 0.082803 second(s), 23 queries .
Powered by Discuz! X3.2
© 2001-2013 Comsenz Inc.