安装 watch
bash
sudo brew install watch
iTerm or Terminal(终端)
示例代码
bash
watch -t -n1 "date"
2016 3 29 20 33 54 CST
watch && figlet
bash
watch -t -n1 "date +%T|figlet -f banner"
##### ### # ##### # # # #####
# # # # ### # # # # ### # # # #
# # # # # # # # # # # #
##### # # ##### # # # # ######
# # # # # ####### # ####### #
# # # ### # # # ### # # #
####### ### # ##### # # # #####
文章信息
- 文章标题:watch&figlet - Keystion
- 文章链接:https://webclown.net/posts/watch-figlet.html
- 版权声明:本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。
- 转载请注明来自 Keystion !
markdown
[watch&figlet - Keystion](https://webclown.net/posts/watch-figlet.html)