Colored output in adb, e.g. for ls command Is it possible to have colored output in adb shell, e.g. for the ls command?

I've tried ls --color=auto . etc, but that doesn't seem to work.

Colored output, however, works in adb shell, e.g. with

echo -e '\033[01;35m test \033[m'


Or does the ls command in adb not provide a "full feature" ls and it depends on the command?



Required Information:


Device: HTC Desire S S510e
Android: Gingerbread 2.3.5
As you can see from the screenshot, you can definitely get colored output in ls on android.
(side note - I've got some bashrc magic running so the default ls output is ls --color=auto)
Probably you're either running ls in a sh shell and not bash, you've got a watered-down OEM version of ls, or there's some strange magic happening between ADB on Windows and the linux terminal.

What device/android version/ROM are you running? What output does ls --version give?