【问题标题】:How to change colors of Bash in Ubuntu [closed]如何在 Ubuntu 中更改 Bash 的颜色 [关闭]
【发布时间】:2017-10-04 22:10:42
【问题描述】:

我在Ubuntu 16.04 (Xenial Xerus) VPS 工作。我几乎看不懂截图中 Bash 中的深蓝色打印。如何修改 Bash 中的颜色?

【问题讨论】:

标签: ubuntu terminal ls


【解决方案1】:

要更改终端设置中的颜色,请使用 菜单终端首选项配置文件编辑 → 选项卡颜色

命令行:

nano ~/.bashrc
# Insert at the end. This will make your directory's red
LS_COLORS=$LS_COLORS:'di=0;31:' ; export LS_COLORS
# Save file
# Restart terminal

【讨论】:

  • 谢谢,帮了大忙!
  • Ubuntu MATE 20.04(Focal Fossa)中是菜单EditProfile Preferences → tab Colors
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-09-24
  • 2015-01-14
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多