用busybox扩展android系统的控制台命令

阅读更多
安装:
1 到http://www.billrocks.org/android_libs/bin/下载busybox文件。
2 把busybox上传到android系统,并设置可执行权限。
adb push busybox /system/bin
adb shell
# chmod 655 /system/bin/busybox

3 运行 busybox
查看android linux内核版本
# busybox uname -a
Linux (none) 2.6.23 #5 Thu Dec 27 14:10:07 PST 2007 armv5tejl unknown
启动一个httpd服务器
#busybox httpd
启动后你在模拟器的web浏览器上访问 http://127.0.0.1 即可
执行运行
#busybox
即可查看busybox支持的命令。

busybox支持的命令包括:
      [, [[, addgroup, adduser, adjtimex, ar, arp, arping, ash,
      awk, basename, bunzip2, bzcat, bzip2, cal, cat, catv,
      chattr, chgrp, chmod, chown, chpasswd, chpst, chroot,
      chrt, chvt, cksum, clear, cmp, comm, cp, cpio, crond,
      crontab, cryptpw, cut, date, dc, dd, deallocvt, delgroup,
      deluser, df, dhcprelay, diff, dirname, dmesg, dnsd, dos2unix,
      du, dumpkmap, dumpleases, echo, ed, egrep, eject, env,
      envdir, envuidgid, expand, expr, fakeidentd, false, fbset,
      fdflush, fdformat, fdisk, fgrep, find, fold, free, freeramdisk,
      fsck, fsck.minix, ftpget, ftpput, fuser, getopt, getty,
      grep, gunzip, gzip, halt, hdparm, head, hexdump, hostid,
      hostname, httpd, hwclock, id, ifconfig, ifdown, ifup,
      inetd, init, insmod, install, ip, ipaddr, ipcalc, ipcrm,
      ipcs, iplink, iproute, iprule, iptunnel, kbd_mode, kill,
      killall, killall5, klogd, last, length, less, linux32,
      linux64, linuxrc, ln, loadfont, loadkmap, logger, login,
      logname, logread, losetup, ls, lsattr, lsmod, lzmacat,
      makedevs, md5sum, mdev, mesg, microcom, mkdir, mkfifo,
      mkfs.minix, mknod, mkswap, mktemp, modprobe, more, mount,
      mountpoint, mt, mv, nameif, nc, netstat, nice, nmeter,
      nohup, nslookup, od, openvt, passwd, patch, pgrep, pidof,
      ping, ping6, pipe_progress, pivot_root, pkill, poweroff,
      printenv, printf, ps, pscan, pwd, raidautorun, rdate,
      readahead, readlink, readprofile, realpath, reboot, renice,
      reset, resize, rm, rmdir, rmmod, route, rpm, rpm2cpio,
      run-parts, runlevel, runsv, runsvdir, rx, sed, seq, setarch,
      setconsole, setkeycodes, setlogcons, setsid, setuidgid,
      sh, sha1sum, slattach, sleep, softlimit, sort, split,
      start-stop-daemon, stat, strings, stty, su, sulogin, sum,
      sv, svlogd, swapoff, swapon, switch_root, sync, sysctl,
      syslogd, tail, tar, tcpsvd, tee, telnet, telnetd, test,
      tftp, time, top, touch, tr, traceroute, true, tty, ttysize,
      udhcpc, udhcpd, udpsvd, umount, uname, uncompress, unexpand,
      uniq, unix2dos, unlzma, unzip, uptime, usleep, uudecode,
      uuencode, vconfig, vi, vlock, watch, watchdog, wc, wget,
      which, who, whoami, xargs, yes, zcat, zcip

你可能感兴趣的:(Android,Linux,浏览器,Web)