Linked Questions

26 votes
2 answers
15k views

Fix LS Colors for directories with 777 permission? [duplicate]

When I run ls on a folder with directories that have a 777 permission, the ls colors are purple text with a green background, which is unreadable: What can I do to make this more pleasant to look at?
user avatar
  • 697
10 votes
1 answer
20k views

Directories showing up in green(executable) even after removing execute permission for all [duplicate]

I just copied a directory from a USB flash drive. I copied it from an NTFS drive and so all the files had execute permission. I executed chmod -x * to undo the execute permission. Despite that, all ...
user avatar
  • 522
1 vote
2 answers
6k views

ls -F OR ls -al - What does the red highlighting mean? [duplicate]

So I ran a ls -F or ls -al on my /usr/bin directory and some of my files showed up with a red background and white text. What does this mean?
user avatar
1 vote
2 answers
5k views

How to change the color of different files in ls [duplicate]

So I know that there is a way to change the color of text for directories, regular files, bash scripts, etc. Is there a way to change the color to the file based on the _file extension_? Example: $ ...
user avatar
2 votes
1 answer
2k views

Why are files and directories colored in different ways? [duplicate]

On Ubuntu 14.04, in bash under gnome terminal, Why are files especially directories colored in different ways? The green colors hide the text to me (How about to you?). Is it done by terminal or ...
user avatar
  • 89.7k
0 votes
4 answers
1k views

Mount point color [duplicate]

I am beginning with the mount and Linux file-system concept. Just as a simple test I have mounted a share from my server(VM) to the client (VM). Things are fine, it is mounted and I could work on it ...
user avatar
  • 149
1 vote
1 answer
2k views

Why are some files in bold & others not? [duplicate]

I getting a permission denied when trying to copy my cisco image to the switch and I thought the bold text may indicate something I was unaware of.
user avatar
0 votes
1 answer
433 views

How to change font colors for directories with write permissions in ls? [duplicate]

When I do ls -1, I get colours that I don't like: These directories (folder1, folder2, folder3) have "anyone can do anything" permissions. (also called 777 permissions I think). I'm not ...
user avatar
5 votes
2 answers
4k views

How can I list LS_COLORS in colour?

I recall that eval "dircolors -b" used to display the colours that LS_COLORS was using, based on the file types or extensions. It was not simply the colour values that were displayed but the colours ...
user avatar
  • 463
3 votes
2 answers
3k views

Changing colors used by `ls` does not work in Emacs "Shell" mode

I followed https://unix.stackexchange.com/a/94508/674 to change the colors used by ls. This works in bash. When I open a buffer of "Shell" mode in Emacs (M-x shell), the change doesn't work. I wonder ...
user avatar
  • 89.7k
1 vote
1 answer
4k views

what is different between red file and green file in Terminal (macOS)

I have 2 backup files but they have 2 different colors? So what is different between red file and green file in Terminal (macOS)
user avatar
  • 11
0 votes
2 answers
873 views

What does it mean when ls -al gives output in red?

Centos 7, elasticsearch 5.x. I am tracing an issue where elasticsearch becomes non responsive to logstash. (both running locally) I measure the open handles, as we have had problems on the logstash ...
user avatar
1 vote
2 answers
385 views

All directories are blue on green on WSL

According to all I've read LS_COLORS with di=01;34 should mean bold blue. No matter what setting I try I cannot get anything except white on black (I assume when my setting is incorrect) or this ugly, ...
user avatar
  • 315
0 votes
1 answer
929 views

Executable directory? And chmod o+w changing the terminal directory color?

What is an executable directory? If o+w is set the directory changes colors to a background green, what does this mean? Why doesn't it do it for ug+w, but only for o+w? Additional question after ...
user avatar
1 vote
1 answer
73 views

Only color files according to file types? [duplicate]

When using ls to list files in a directory, the files are colored according to their access permissions. Is it possible to color the files only according to their file types (e.g. a regular file, a ...
user avatar
  • 89.7k

15 30 50 per page