Colorised highlighting in ls command

2.5k Views Asked by At

When doing ls on my Ubuntu 15.10 machine, I get a colorised highlighting for directories.This is what happens

How can I remove this highlighting?

1

There are 1 best solutions below

2
On

I guess ls is an alias on Ubuntu - you can check that by executing alias ls in a terminal.
Try unalias ls in a terminal, afterwards you should see no coloring

Update:
To remove only the highlighting, edit your env. var. LS_COLORS e.g. to use the style of Ubuntu 14.04 execute LS_COLORS="$LS_COLORS:di=01;34"
For more details you could have a look at this answer.

Note: To add your alias again, execute alias ls='ls --color=auto' again