I've ran a few searches but haven't really seen someone posting this out there, so I thought I'd post it here.
Prereqs:
first you need to be rooted (follow the guides, I used the preinstall method for 2.3.6, and that works)
You'll need busybox (I just used the copy from webtop2sd installed /system/etc/webtop2sd/busybox
You can see all busybox can do from here: http://en.wikipedia.org/wiki/BusyBox
then you need a terminal, I use connectbot. connect to local (type)
if you've followed the preinstall method then /system/bin will be in your path, so I just put the sym links there.
shell commands:
after you execute those lines, grep find vi and less will all work as normal in android like they would on a full linux machine. test it out by executing
that should list all your busyboxes on the system
Happy scripting.
Prereqs:
first you need to be rooted (follow the guides, I used the preinstall method for 2.3.6, and that works)
You'll need busybox (I just used the copy from webtop2sd installed /system/etc/webtop2sd/busybox
You can see all busybox can do from here: http://en.wikipedia.org/wiki/BusyBox
then you need a terminal, I use connectbot. connect to local (type)
if you've followed the preinstall method then /system/bin will be in your path, so I just put the sym links there.
shell commands:
su
/bin/mount /system -o remount,rw
ln -s /system/etc/webtop2sd/busybox /system/bin/vi
ln -s /system/etc/webtop2sd/busybox /system/bin/less
ln -s /system/etc/webtop2sd/busybox /system/bin/grep
ln -s /system/etc/webtop2sd/busybox /system/bin/find
/bin/mount /system -o remount,ro
exit
after you execute those lines, grep find vi and less will all work as normal in android like they would on a full linux machine. test it out by executing
that should list all your busyboxes on the system
Happy scripting.
Last edited: