运行TOP命令时出错:
>top 'xterm': unknown terminal type. > echo $TERM xterm > echo $DISPLAY DYSPLAY: Undefined variable. > cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.3 (Santiago) > ls /usr/share/terminfo/ 1 2 3 4 5 6 7 8 9 a A b c d e E f g h i j k l L m M n N o p P q Q r s t u v w x X z > ls /usr/share/terminfo/x/xterm /usr/share/terminfo/x/xterm
我也有Root的问题.
TOP使用xterm吗?
我能怎么做?
尝试添加
export TERM=linux
在.bashrc文件的末尾(/home/myuser/.bashrc,/root/.bashrc).问题是终端定义'xterm'是未定义的