在android上使用完全的linux命令,你不得不受益于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 across: $ adb push busybox /data/busybox/busybox. Once you do this you can install the necessary hardlinks by doing: # cd /data/busybox; ./busybox --install. Once doing this you should 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 should 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

更多相关文章

  1. Android 常用 adb 命令总结
  2. android的adb常用命令使用
  3. 命令行建avd
  4. android命令详解

随机推荐

  1. Git | 上传 Android(安卓)项目到 GitHub
  2. Android(安卓)- 分享内容 - 给其他APP发
  3. Android(安卓)使用 Usb Accessory 模式与
  4. 一个Android应用的汉化的技术
  5. android 调用系统相册选取照片或者打开相
  6. Android(安卓)事件传递流程 - 基于WMS、I
  7. Android(安卓)Loader 机制浅谈
  8. android 获取MP4文件的图片大小
  9. Android中style和theme巧用:Android应用
  10. android 多表管理查询