Update shell_and_utilities docs for U.
Also add a few relevant links for anyone wanting more background. Test: N/A Change-Id: I31c98313f2237c93b89e7a5db44952f394604a1b
This commit is contained in:
parent
25f451ab56
commit
f603989156
1 changed files with 55 additions and 10 deletions
|
@ -18,8 +18,11 @@ the system), so although this was the beginning of the end of toolbox it
|
|||
in Marshmallow we changed direction and started the move to toybox.
|
||||
|
||||
Not everything is provided by toybox, though. For the bzip2 command-line tools
|
||||
we use the ones that are part of the bzip2 distribution. The awk added in
|
||||
Android P is Brian Kernighan's "one true" awk.
|
||||
we use the ones that are part of the bzip2 distribution.
|
||||
The awk added in Android P is the
|
||||
["one true" awk](https://github.com/onetrueawk/awk).
|
||||
The bc added in Android Q is
|
||||
[Gavin Howard's bc](https://github.com/gavinhoward/bc).
|
||||
|
||||
The lists below show what tools were provided and where they came from in
|
||||
each release starting with Gingerbread. This doesn't tell the full story,
|
||||
|
@ -34,6 +37,40 @@ commands than there are symlinks for in `/system/bin`. You can get the
|
|||
full list for a release by running `toybox` directly.
|
||||
|
||||
|
||||
## Android 14 ("U")
|
||||
|
||||
BSD: fsck\_msdos newfs\_msdos
|
||||
|
||||
bzip2: bzcat bzip2 bunzip2
|
||||
|
||||
gavinhoward/bc: bc
|
||||
|
||||
one-true-awk: awk
|
||||
|
||||
toolbox: getevent getprop setprop start stop
|
||||
|
||||
toybox ([0.8.9](http://landley.net/toybox/#10-01-2023)-ish):
|
||||
[ acpi base64 basename blkdiscard blkid blockdev **brctl** cal cat chattr
|
||||
chcon chgrp chmod chown chroot chrt cksum clear cmp comm cp cpio cut
|
||||
date dd devmem df diff dirname dmesg dos2unix du echo egrep env expand
|
||||
expr fallocate false fgrep file find flock fmt free freeramdisk fsfreeze
|
||||
fsync getconf getenforce getfattr getopt grep groups gunzip gzip head
|
||||
help hostname hwclock i2cdetect i2cdump i2cget i2cset iconv id ifconfig
|
||||
inotifyd insmod install ionice iorenice iotop kill killall ln load\_policy
|
||||
log **logger** logname losetup ls lsattr lsmod lsof lspci lsusb makedevs
|
||||
md5sum microcom mkdir mkfifo mknod mkswap mktemp modinfo modprobe
|
||||
more mount mountpoint mv nbd-client nc netcat netstat nice nl nohup
|
||||
nproc nsenter od partprobe paste patch pgrep pidof ping ping6 pivot\_root
|
||||
pkill pmap printenv printf prlimit ps pwd pwdx readelf readlink realpath
|
||||
renice restorecon rev rfkill rm rmdir rmmod rtcwake runcon sed sendevent
|
||||
seq setenforce setfattr setsid sha1sum sha224sum sha256sum sha384sum
|
||||
sha512sum sleep sort split stat strings stty swapoff swapon sync sysctl
|
||||
tac tail tar taskset tee test time timeout top touch tr traceroute
|
||||
traceroute6 true truncate tty tunctl uclampset ulimit umount uname
|
||||
uniq unix2dos unlink unshare uptime usleep uudecode uuencode uuidgen
|
||||
vconfig vi vmstat watch wc which whoami xargs xxd yes zcat
|
||||
|
||||
|
||||
## Android 13 ("T")
|
||||
|
||||
BSD: fsck\_msdos newfs\_msdos
|
||||
|
@ -46,7 +83,8 @@ one-true-awk: awk
|
|||
|
||||
toolbox: getevent getprop setprop start stop
|
||||
|
||||
toybox (0.8.6-ish): [ acpi base64 basename blkdiscard blkid blockdev cal cat chattr chcon
|
||||
toybox ([0.8.6](http://landley.net/toybox/#30-11-2021)-ish):
|
||||
[ acpi base64 basename blkdiscard blkid blockdev cal cat chattr chcon
|
||||
chgrp chmod chown chroot chrt cksum clear cmp comm cp cpio cut date
|
||||
dd devmem df diff dirname dmesg dos2unix du echo egrep env expand
|
||||
expr fallocate false fgrep file find flock fmt free freeramdisk fsfreeze
|
||||
|
@ -79,7 +117,8 @@ one-true-awk: awk
|
|||
|
||||
toolbox: getevent getprop setprop start stop
|
||||
|
||||
toybox (0.8.4-ish): **[** acpi base64 basename **blkdiscard** blkid blockdev cal cat chattr chcon
|
||||
toybox ([0.8.4](http://landley.net/toybox/#24-10-2020)-ish):
|
||||
**[** acpi base64 basename **blkdiscard** blkid blockdev cal cat chattr chcon
|
||||
chgrp chmod chown chroot chrt cksum clear cmp comm cp cpio cut date
|
||||
dd devmem df diff dirname dmesg dos2unix du echo egrep env expand
|
||||
expr fallocate false fgrep file find flock fmt free freeramdisk fsfreeze
|
||||
|
@ -112,7 +151,8 @@ one-true-awk: awk
|
|||
|
||||
toolbox: getevent getprop setprop start stop
|
||||
|
||||
toybox (0.8.3-ish): acpi base64 basename blkid blockdev cal cat chattr chcon chgrp chmod
|
||||
toybox ([0.8.3](http://landley.net/toybox/#11-05-2020)-ish):
|
||||
acpi base64 basename blkid blockdev cal cat chattr chcon chgrp chmod
|
||||
chown chroot chrt cksum clear cmp comm cp cpio cut date dd **devmem**
|
||||
df diff dirname dmesg dos2unix du echo egrep env expand expr fallocate
|
||||
false fgrep file find flock fmt free freeramdisk fsfreeze **fsync** getconf
|
||||
|
@ -143,7 +183,8 @@ one-true-awk: awk
|
|||
|
||||
toolbox: getevent getprop
|
||||
|
||||
toybox (0.8.0-ish): acpi base64 basename **bc** **blkid** blockdev cal cat **chattr** chcon chgrp
|
||||
toybox ([0.8.0](http://landley.net/toybox/#08-02-2019)-ish):
|
||||
acpi base64 basename **bc** **blkid** blockdev cal cat **chattr** chcon chgrp
|
||||
chmod chown chroot chrt cksum clear cmp comm cp cpio cut date dd df
|
||||
diff dirname dmesg dos2unix du echo **egrep** env expand expr fallocate
|
||||
false **fgrep** file find flock fmt free **freeramdisk** **fsfreeze** **getconf**
|
||||
|
@ -174,7 +215,8 @@ one-true-awk: awk
|
|||
|
||||
toolbox: getevent getprop newfs\_msdos
|
||||
|
||||
toybox (0.7.6-ish): acpi base64 basename blockdev cal cat chcon chgrp chmod chown
|
||||
toybox ([0.7.6](http://landley.net/toybox/#24-02-2018)-ish):
|
||||
acpi base64 basename blockdev cal cat chcon chgrp chmod chown
|
||||
chroot chrt cksum clear cmp comm cp cpio cut date df diff dirname dmesg
|
||||
dos2unix du echo env expand expr fallocate false file find flock **fmt** free
|
||||
getenforce groups gunzip gzip head hostname hwclock id ifconfig inotifyd
|
||||
|
@ -198,7 +240,8 @@ bzip2: bzcat bzip2 bunzip2
|
|||
|
||||
toolbox: getevent newfs\_msdos
|
||||
|
||||
toybox (0.7.3-ish): acpi base64 basename blockdev cal cat chcon chgrp chmod chown
|
||||
toybox ([0.7.3](http://landley.net/toybox/#21-02-2017)-ish):
|
||||
acpi base64 basename blockdev cal cat chcon chgrp chmod chown
|
||||
chroot chrt cksum clear cmp comm cp cpio cut date df **diff** dirname dmesg
|
||||
dos2unix du echo env expand expr fallocate false **file** find flock free
|
||||
getenforce getprop groups **gunzip** **gzip** head hostname hwclock id ifconfig
|
||||
|
@ -221,7 +264,8 @@ BSD: dd grep
|
|||
toolbox: getevent iftop ioctl log nandread newfs\_msdos ps prlimit
|
||||
sendevent start stop top
|
||||
|
||||
toybox (0.7.0-ish): acpi **base64** basename blockdev bzcat cal cat chcon chgrp chmod
|
||||
toybox ([0.7.0](http://landley.net/toybox/#02-02-2016)-ish):
|
||||
acpi **base64** basename blockdev bzcat cal cat chcon chgrp chmod
|
||||
chown chroot cksum clear comm cmp cp cpio cut date **df** dirname dmesg
|
||||
dos2unix **du** echo env expand expr fallocate false find **flock** free
|
||||
getenforce getprop groups head hostname hwclock id ifconfig inotifyd
|
||||
|
@ -242,7 +286,8 @@ BSD: dd du grep
|
|||
toolbox: df getevent iftop ioctl ionice log ls lsof mount nandread
|
||||
newfs\_msdos ps prlimit renice sendevent start stop top uptime watchprops
|
||||
|
||||
toybox (0.5.2-ish): acpi basename blockdev bzcat cal cat chcon chgrp chmod chown
|
||||
toybox ([0.5.2](http://landley.net/toybox/#25-02-2015)-ish):
|
||||
acpi basename blockdev bzcat cal cat chcon chgrp chmod chown
|
||||
chroot cksum clear comm cmp cp cpio cut date dirname dmesg dos2unix echo
|
||||
env expand expr fallocate false find free getenforce getprop groups
|
||||
head hostname hwclock id ifconfig inotifyd insmod kill load\_policy ln
|
||||
|
|
Loading…
Reference in a new issue