Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/perl/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在ubuntu中更改bash的颜色_Ubuntu_Terminal_Ls - Fatal编程技术网

如何在ubuntu中更改bash的颜色

如何在ubuntu中更改bash的颜色,ubuntu,terminal,ls,Ubuntu,Terminal,Ls,我在ubuntu 16.04 VPS中工作。在截图中,我几乎看不清bash中的深色蓝图。如何在bash中修改颜色?更改终端设置中的颜色 终端>首选项>配置文件>编辑>颜色 命令行: 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 16.04 VPS中工作。在截图中,我几乎看不清bash中的深色蓝图。如何在bash中修改颜色?

更改终端设置中的颜色 终端>首选项>配置文件>编辑>颜色

命令行:

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

在终端设置中更改颜色的步骤 终端>首选项>配置文件>编辑>颜色

命令行:

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

在终端设置中应可配置颜色选项勾选此选项,可能会有所帮助:这不是
bash
问题;这是
ls
程序可以输出什么颜色代码以及您的特定终端如何解释它们的组合。可能重复:颜色选项应在您的终端设置中配置检查此选项,可能会有所帮助:这不是
bash
问题;这是
ls
程序可以输出的颜色代码和特定终端如何解释它们的组合。可能重复:谢谢,这是一个很大的帮助!谢谢你,这帮了大忙!