Linux 后台执行top 出错“TERM environment variable not set” “top: failed tty get”

export TERM=linux
top -bn 1 &>> watch.log

 

 

参考文献:

https://zhidao.baidu.com/question/1110100486722222299.html

https://www.cnblogs.com/felixzh/p/9020336.html

https://www.imooc.com/qadetail/226756

posted @ 2018-12-06 17:03  jhc888007  阅读(341)  评论(0编辑  收藏  举报