Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
> adb shell
sh-4.1$ ls -F
-F: No such file or directory

-F switch works fine on my Ubuntu.

Why doesn't it work on Android? Is there a way to make it work?

share|improve this question
up vote 9 down vote accepted

Most shell commands in Android are not GNU versions or a POSIX-compliant implementation, they are either from Toolbox or Busybox and mostly stripped down versions.

A lot of commands in /system/bin are symlinks to /system/toolbox. I haven't found much documentation about it, just the source at

Busybox is another implementation of several common shell commands, with more commands and features than the default Toolbox. It's used on other embedded systems too, and some bootable GNU/Linux CDs, so you may already be familiar with it. Because it's open-source, there are several installers available on Google Play: just search for "Busybox".

share|improve this answer
There is a guide at… – Kshitiz Sharma Feb 21 '13 at 13:33
Strictly speaking, GNU userland command tools are not "original", they were designed based on existing Unix command tools and POSIX. – Lie Ryan Feb 22 '13 at 10:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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