Pages

Thursday, August 14, 2014

Change Linux command line output color

By default the color when we remotely connect to a Linux shell, the color of folder is signified by the color Navy BLUE. Which is hard to make out from a black color background.

A bit of customizing and you can change it.

# cp /etc/DIR_COLORS ~/.dir_colors

# nano .dir_colors

Scroll down till the DIR and edit the color parameter

Blue = 34
Green = 32
Light Green = 1;32
Cyan = 36
Red = 31
Purple = 35
Brown = 33
Yellow = 1;33
white = 1;37
Light Grey = 0;37
Black = 30
Dark Grey= 1;30

image

log off from the shell and login back

image

No comments:

Post a Comment