1

I have been working with different distributions of Linux.

I noticed sometimes when I'm using SSH to connect to another Linux server, sometimes it has color to indicate different folders when I'm using ls command. for example a folder with 777 permission will have green color on it. But sometimes with another Linux server, it only show white color texts.

I prefer to have color displayed. What should I do to enable color indication?

0

Make things colored is a part of ANSI/VT100 color codes. As long as your terminal supports that, you can have bunch of features besides colors. I deeply encourange you to have a better understading of that:

Everything else is application depending; for example: pure ls does not color directories and files, but with --color argument - yes.

Not the answer you're looking for? Browse other questions tagged or ask your own question.