Using full linux commands on Android means you have to benefit from the convenience of busybox for Android.
The toolbox that is provided on the android environment is pretty limited. I wanted something more useful and familiar. busybox to the rescue!
I have a busybox binary available for those who are interested.
To use it simply do # mkdir/data/busybox, on your emulated console. then copy the busybox binary plain SS: $ ADB push busybox/data/busybox. once you do this you can install the necessary hardlinks by doing: # cd/data/busybox ;. /busybox -- install. once doing this you shoshould have links to all the applets in the/data/busybox directory. to make this useful you probably want to put this into your path: # export Path =/data/busybox: $ path.
You shoshould now be able to get access to all the useful busybox applets.
Update: busybox was a straight compile of the standard busybox 1.8.1 release. No changes were made to the source. source code available here or from the busybox website.
Http://benno.id.au/blog/2007/11/14/android-busybox