龙空技术网

3.6 设置Ubuntu环境更改Shell显示颜色

以太场Ethereum 34

前言:

此时朋友们对“ubuntubash颜色”大致比较注意,姐妹们都需要学习一些“ubuntubash颜色”的相关文章。那么小编同时在网络上汇集了一些关于“ubuntubash颜色””的相关资讯,希望同学们能喜欢,小伙伴们快快来学习一下吧!

缺省环境和咱习惯不一样,要改。

先用XShell连入Ubuntu。

这个Command Line颜色不够丰富,directory和file分不清。改。

nano ~/.bashrc

export PS1="\\[\\e[34m\\]\\u@\\h \\[\\e[32m\\]\\w \\[\\e[0m\\]\\[\\e[31m\\]\\$ \\[\\e[0m\\]”

Blue: DirectoryGreen: Executable or recognized data fileCyan (Sky Blue): Symbolic link fileYellow with black background: DeviceMagenta (Pink): Graphic image fileRed: Archive fileRed with black background: Broken link

酱紫舒服多了。一目了然。

In your development process, you'll undoubtedly be required to run some commands in the terminal (or on the "command line" — these are effectively the same thing). Read some articles about the terminal, the essential commands you'll need to enter into it, how to chain commands together, and how to add your own command line interface (CLI) tools.

标签: #ubuntubash颜色 #ubuntu终端颜色怎么调 #ubuntu设置背景颜色 #ubuntu16设置shell编码 #ubuntu命令颜色