我是靠谱客的博主 丰富鸵鸟,这篇文章主要介绍[Linux] [Ubuntu] Error opening terminal: xterm-256color,现在分享给大家,希望可以做个参考。

$ 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]内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(62)

评论列表共有 0 条评论

立即
投稿
返回
顶部