在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数据库
  2. 【android-tips】android程序执行adb shell命令(实例源码)
  3. android执行Linux命令
  4. android 使用linux命令截屏
  5. Android(安卓)cts测试命令
  6. Android(安卓)以太网调用流程
  7. Android实现远程控制PC(Android[客户端]+Qt[服务器端])
  8. 立即停止Android(安卓)Studio 编译
  9. Android实现远程控制PC(Android[客户端]+Qt[服务器端])

随机推荐

  1. Android(安卓)Intent设置类型setType();
  2. android SoundRecorder设计二
  3. Google Play支付接入(in-app Billing)
  4. 快速编译出WebRTC for Android(安卓)的一
  5. android产品研发(六)-->Apk混淆
  6. 为开发者准备的最佳 Android(安卓)函数库
  7. Android(安卓)数据库的使用SQLite 和GREE
  8. Gradle解决依赖冲突
  9. 聊聊自定义View那些事
  10. Android(安卓)内存优化与泄露