different colors of files from the terminal
Hi, I did a symbolic link to a file, after that I did a "ls" and several files had different colors, the symbolic link is color dark gray, someones are light green, white and so on, what is the meaning of those colors?
regards |
Those colors are for identify the file type, take a look at the ls man page
As I remember the command ls --color activate this ;) |
It is common that the ls command is aliased to "ls --color=auto" or something like that. You can see if this is the case by doing:
Code:
alias ls |
...another way to get color in ls is by LS_COLORS environment variable, just in case you don't have an alias to 'ls --color=whatever'. Check it too.
|
All times are GMT -5. The time now is 10:49 PM. |