$ usec
Error opening terminal: xterm-256color.
1、如果用户目录
$ cd ~
2、添加bash_profile文件
$ vim .bash_profile
3、在bash_profile中添加下面两行,保存退出。
export TERMINFO=/usr/share/terminfo
export TERM=xterm-basic
4、更新使之生效
$ source .bash_profile
最后
以上就是丰富鸵鸟最近收集整理的关于[Linux] [Ubuntu] Error opening terminal: xterm-256color的全部内容,更多相关[Linux]内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复