与UNIX命令&QUOT颜色;手表"? [英] Colors with unix command "watch"?

查看:251
本文介绍了与UNIX命令&QUOT颜色;手表"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我使用的显示颜色有些命令,但是当我的手表使用它们的颜色消失:

Some commands that I use display colors, but when I use them with watch the colors disappears:

watch -n 1 node file.js

是否有可能有颜色回到不知何故?

Is it possible to have the colors back on somehow?

推荐答案

现在支持的颜色。一些较新版本

Some newer versions of watch now support color.

例如看--color LS -ahl --color

<一个href=\"http://stackoverflow.com/questions/2417824/how-can-i-make-the-watch-command-inter$p$pt-vt100-sequences\">Related.

这篇关于与UNIX命令&QUOT颜色;手表&QUOT;?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆