To quickly fix the problem, (make other-writable files yellow on nobg):
LS_COLORS+=':ow=01;33' Replace 33 by 34 for blue on nobg. Even simpler, to make it nofg on nobg:
LS_COLORS+=:ow= To make your change permanent, append it to your .profile:
echo "export LS_COLORS+=':ow=01;33'" > ~/.profile To view the non-extension related rules of LS_COLORS:
echo "$LS_COLORS" | sed 's/:/\n/g' | grep -v '\*.' sed puts each rule on one line and grep removes the rules beginning by *.'.
To explore the ls colors on your terminal, consider using
C="$LS_COLORS" function sc () { echo "$LS_COLORS" | sed 's/:/\n/g' | grep -v '\*.' } function t () { ls /mnt # Or the path to your example directory. } Then
LS_COLORS="$C:ow=38;5;250;48;5;025";t