From e2d9fb2116277be895592afa300eb1598a14bed5 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 3 Mar 2022 01:52:13 +0000 Subject: [PATCH] Invert history. Change logs are usually easier to read when the newest stuff is at the top... Change-Id: I6ec76e96a6def88e3594949567b4afb397835d7d --- shell_and_utilities/README.md | 386 +++++++++++++++++----------------- 1 file changed, 194 insertions(+), 192 deletions(-) diff --git a/shell_and_utilities/README.md b/shell_and_utilities/README.md index f339553f0..26ae4e314 100644 --- a/shell_and_utilities/README.md +++ b/shell_and_utilities/README.md @@ -34,185 +34,39 @@ commands than there are symlinks for in `/system/bin`. You can get the full list for a release by running `toybox` directly. -## Android 2.3 (Gingerbread) +## Android ("S") -BSD: cat dd newfs\_msdos - -toolbox: chmod chown cmp date df dmesg getevent getprop hd id ifconfig -iftop insmod ioctl ionice kill ln log ls lsmod lsof mkdir mount mv -nandread netstat notify printenv ps reboot renice rm rmdir rmmod route -schedtop sendevent setconsole setprop sleep smd start stop sync top -umount uptime vmstat watchprops wipe - - -## Android 4.0 (IceCreamSandwich) - -BSD: cat dd newfs\_msdos - -toolbox: chmod chown cmp date df dmesg getevent getprop hd id ifconfig -iftop insmod ioctl ionice kill ln log ls lsmod lsof mkdir mount mv -nandread netstat notify printenv ps reboot renice rm rmdir rmmod route -schedtop sendevent setconsole setprop sleep smd start stop sync top -touch umount uptime vmstat watchprops wipe - - -## Android 4.1-4.3 (JellyBean) - -BSD: cat cp dd du grep newfs\_msdos - -toolbox: chcon chmod chown clear cmp date df dmesg getenforce getevent -getprop getsebool hd id ifconfig iftop insmod ioctl ionice kill ln -load\_policy log ls lsmod lsof md5 mkdir mount mv nandread netstat notify -printenv ps reboot renice restorecon rm rmdir rmmod route runcon schedtop -sendevent setconsole setenforce setprop setsebool sleep smd start stop -sync top touch umount uptime vmstat watchprops wipe - - -## Android 4.4 (KitKat) - -BSD: cat cp dd du grep newfs\_msdos - -toolbox: chcon chmod chown clear cmp date df dmesg getenforce getevent -getprop getsebool hd id ifconfig iftop insmod ioctl ionice kill ln -load\_policy log ls lsmod lsof md5 mkdir mkswap mount mv nandread netstat -notify printenv ps readlink renice restorecon rm rmdir rmmod route runcon -schedtop sendevent setconsole setenforce setprop setsebool sleep smd start -stop swapoff swapon sync top touch umount uptime vmstat watchprops wipe - - -## Android 5.0 (Lollipop) - -BSD: cat chown cp dd du grep kill ln mv printenv rm rmdir sleep sync - -toolbox: chcon chmod clear cmp date df dmesg getenforce getevent getprop -getsebool hd id ifconfig iftop insmod ioctl ionice load\_policy log ls -lsmod lsof md5 mkdir mknod mkswap mount nandread netstat newfs\_msdos -nohup notify ps readlink renice restorecon rmmod route runcon schedtop -sendevent setenforce setprop setsebool smd start stop swapoff swapon -top touch umount uptime vmstat watchprops wipe - - -## Android 6.0 (Marshmallow) - -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 -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 -logname losetup lsmod lsusb md5sum mkdir mknod mkswap mktemp modinfo -more mountpoint mv netstat nice nl nohup od paste patch pgrep pidof -pkill pmap printenv printf pwd readlink realpath restorecon rm rmdir -rmmod route runcon sed seq setenforce setprop setsid sha1sum sleep sort -split stat strings swapoff swapon sync sysctl tac tail tar taskset tee -time timeout touch tr true truncate umount uname uniq unix2dos usleep -vmstat wc which whoami xargs yes - - -## Android 7.0 (Nougat) - -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 -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 -insmod **ionice** **iorenice** kill **killall** load\_policy ln logname losetup **ls** -lsmod **lsof** lsusb md5sum mkdir mknod mkswap mktemp modinfo more *mount* -mountpoint mv netstat nice nl nohup od paste patch pgrep pidof pkill -pmap printenv printf pwd readlink realpath **renice** restorecon rm rmdir -rmmod route runcon sed seq setenforce setprop setsid sha1sum sleep sort -split stat strings swapoff swapon sync sysctl tac tail tar taskset tee -time timeout touch tr true truncate **tty** **ulimit** umount uname uniq unix2dos -**uptime** usleep vmstat wc which whoami xargs **xxd** yes - - -## Android 8.0 (Oreo) - -BSD: dd grep +BSD: fsck\_msdos newfs\_msdos bzip2: bzcat bzip2 bunzip2 -toolbox: getevent newfs\_msdos - -toybox (0.7.3-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 -inotifyd insmod ionice iorenice kill killall ln load\_policy **log** logname -losetup ls lsmod lsof **lspci** lsusb md5sum **microcom** mkdir **mkfifo** mknod -mkswap mktemp modinfo **modprobe** more mount mountpoint mv netstat nice -nl nohup od paste patch pgrep pidof pkill pmap printenv printf **ps** pwd -readlink realpath renice restorecon rm rmdir rmmod runcon sed **sendevent** -seq setenforce setprop setsid sha1sum **sha224sum** **sha256sum** **sha384sum** -**sha512sum** sleep sort split start stat stop strings swapoff swapon sync -sysctl tac tail tar taskset tee time timeout **top** touch tr true truncate -tty ulimit umount uname uniq unix2dos uptime usleep **uudecode** **uuencode** -vmstat wc which whoami xargs xxd yes **zcat** - - -## Android 9.0 (Pie) - -BSD: dd grep - -bzip2: bzcat bzip2 bunzip2 +gavinhoward/bc: bc one-true-awk: awk -toolbox: getevent getprop newfs\_msdos +toolbox: getevent getprop setprop start stop -toybox (0.7.6-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 -insmod ionice iorenice kill killall ln load\_policy log logname losetup ls -lsmod lsof lspci lsusb md5sum microcom mkdir mkfifo mknod mkswap mktemp -modinfo modprobe more mount mountpoint mv netstat nice nl nohup od paste -patch pgrep pidof pkill pmap printenv printf ps pwd readlink realpath -renice restorecon rm rmdir rmmod runcon sed sendevent seq setenforce -setprop setsid sha1sum sha224sum sha256sum sha384sum sha512sum sleep -sort split start stat stop strings **stty** swapoff swapon sync sysctl tac -tail tar taskset tee time timeout top touch tr true truncate tty ulimit -umount uname uniq unix2dos uptime usleep uudecode uuencode vmstat wc -which whoami xargs xxd yes zcat +toybox (0.8.4-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 +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 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 ulimit umount uname uniq unix2dos +unlink unshare uptime usleep uudecode uuencode uuidgen vconfig vi +vmstat watch wc which whoami xargs xxd yes zcat -## Android 10 ("Q") - -BSD: grep fsck\_msdos newfs\_msdos - -bzip2: bzcat bzip2 bunzip2 - -one-true-awk: awk - -toolbox: getevent getprop - -toybox (0.8.0-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** -getenforce **getfattr** 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 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** readlink realpath renice restorecon **rev** -**rfkill** rm rmdir rmmod runcon sed sendevent seq setenforce **setfattr** -setprop setsid sha1sum sha224sum sha256sum sha384sum sha512sum sleep -sort split start stat stop strings stty swapoff swapon sync sysctl -tac tail tar taskset tee time timeout top touch tr **traceroute** **traceroute6** -true truncate tty **tunctl** ulimit umount uname uniq unix2dos **unlink** -**unshare** uptime usleep uudecode uuencode **uuidgen** **vconfig** vmstat **watch** -wc which whoami xargs xxd yes zcat - ## Android 11 ("R") BSD: fsck\_msdos newfs\_msdos @@ -245,34 +99,182 @@ tty tunctl ulimit umount uname uniq unix2dos unlink unshare uptime usleep uudecode uuencode uuidgen vconfig **vi** vmstat watch wc which whoami xargs xxd yes zcat -## Android ("S") -BSD: fsck\_msdos newfs\_msdos +## Android 10 ("Q") + +BSD: grep fsck\_msdos newfs\_msdos bzip2: bzcat bzip2 bunzip2 -gavinhoward/bc: bc +one-true-awk: awk + +toolbox: getevent getprop + +toybox (0.8.0-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** +getenforce **getfattr** 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 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** readlink realpath renice restorecon **rev** +**rfkill** rm rmdir rmmod runcon sed sendevent seq setenforce **setfattr** +setprop setsid sha1sum sha224sum sha256sum sha384sum sha512sum sleep +sort split start stat stop strings stty swapoff swapon sync sysctl +tac tail tar taskset tee time timeout top touch tr **traceroute** **traceroute6** +true truncate tty **tunctl** ulimit umount uname uniq unix2dos **unlink** +**unshare** uptime usleep uudecode uuencode **uuidgen** **vconfig** vmstat **watch** +wc which whoami xargs xxd yes zcat + + +## Android 9.0 (Pie) + +BSD: dd grep + +bzip2: bzcat bzip2 bunzip2 one-true-awk: awk -toolbox: getevent getprop setprop start stop +toolbox: getevent getprop newfs\_msdos -toybox (0.8.4-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 -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 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 ulimit umount uname uniq unix2dos -unlink unshare uptime usleep uudecode uuencode uuidgen vconfig vi -vmstat watch wc which whoami xargs xxd yes zcat +toybox (0.7.6-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 +insmod ionice iorenice kill killall ln load\_policy log logname losetup ls +lsmod lsof lspci lsusb md5sum microcom mkdir mkfifo mknod mkswap mktemp +modinfo modprobe more mount mountpoint mv netstat nice nl nohup od paste +patch pgrep pidof pkill pmap printenv printf ps pwd readlink realpath +renice restorecon rm rmdir rmmod runcon sed sendevent seq setenforce +setprop setsid sha1sum sha224sum sha256sum sha384sum sha512sum sleep +sort split start stat stop strings **stty** swapoff swapon sync sysctl tac +tail tar taskset tee time timeout top touch tr true truncate tty ulimit +umount uname uniq unix2dos uptime usleep uudecode uuencode vmstat wc +which whoami xargs xxd yes zcat + + +## Android 8.0 (Oreo) + +BSD: dd grep + +bzip2: bzcat bzip2 bunzip2 + +toolbox: getevent newfs\_msdos + +toybox (0.7.3-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 +inotifyd insmod ionice iorenice kill killall ln load\_policy **log** logname +losetup ls lsmod lsof **lspci** lsusb md5sum **microcom** mkdir **mkfifo** mknod +mkswap mktemp modinfo **modprobe** more mount mountpoint mv netstat nice +nl nohup od paste patch pgrep pidof pkill pmap printenv printf **ps** pwd +readlink realpath renice restorecon rm rmdir rmmod runcon sed **sendevent** +seq setenforce setprop setsid sha1sum **sha224sum** **sha256sum** **sha384sum** +**sha512sum** sleep sort split start stat stop strings swapoff swapon sync +sysctl tac tail tar taskset tee time timeout **top** touch tr true truncate +tty ulimit umount uname uniq unix2dos uptime usleep **uudecode** **uuencode** +vmstat wc which whoami xargs xxd yes **zcat** + + +## Android 7.0 (Nougat) + +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 +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 +insmod **ionice** **iorenice** kill **killall** load\_policy ln logname losetup **ls** +lsmod **lsof** lsusb md5sum mkdir mknod mkswap mktemp modinfo more *mount* +mountpoint mv netstat nice nl nohup od paste patch pgrep pidof pkill +pmap printenv printf pwd readlink realpath **renice** restorecon rm rmdir +rmmod route runcon sed seq setenforce setprop setsid sha1sum sleep sort +split stat strings swapoff swapon sync sysctl tac tail tar taskset tee +time timeout touch tr true truncate **tty** **ulimit** umount uname uniq unix2dos +**uptime** usleep vmstat wc which whoami xargs **xxd** yes + + +## Android 6.0 (Marshmallow) + +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 +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 +logname losetup lsmod lsusb md5sum mkdir mknod mkswap mktemp modinfo +more mountpoint mv netstat nice nl nohup od paste patch pgrep pidof +pkill pmap printenv printf pwd readlink realpath restorecon rm rmdir +rmmod route runcon sed seq setenforce setprop setsid sha1sum sleep sort +split stat strings swapoff swapon sync sysctl tac tail tar taskset tee +time timeout touch tr true truncate umount uname uniq unix2dos usleep +vmstat wc which whoami xargs yes + + +## Android 5.0 (Lollipop) + +BSD: cat chown cp dd du grep kill ln mv printenv rm rmdir sleep sync + +toolbox: chcon chmod clear cmp date df dmesg getenforce getevent getprop +getsebool hd id ifconfig iftop insmod ioctl ionice load\_policy log ls +lsmod lsof md5 mkdir mknod mkswap mount nandread netstat newfs\_msdos +nohup notify ps readlink renice restorecon rmmod route runcon schedtop +sendevent setenforce setprop setsebool smd start stop swapoff swapon +top touch umount uptime vmstat watchprops wipe + + +## Android 4.4 (KitKat) + +BSD: cat cp dd du grep newfs\_msdos + +toolbox: chcon chmod chown clear cmp date df dmesg getenforce getevent +getprop getsebool hd id ifconfig iftop insmod ioctl ionice kill ln +load\_policy log ls lsmod lsof md5 mkdir mkswap mount mv nandread netstat +notify printenv ps readlink renice restorecon rm rmdir rmmod route runcon +schedtop sendevent setconsole setenforce setprop setsebool sleep smd start +stop swapoff swapon sync top touch umount uptime vmstat watchprops wipe + + +## Android 4.1-4.3 (JellyBean) + +BSD: cat cp dd du grep newfs\_msdos + +toolbox: chcon chmod chown clear cmp date df dmesg getenforce getevent +getprop getsebool hd id ifconfig iftop insmod ioctl ionice kill ln +load\_policy log ls lsmod lsof md5 mkdir mount mv nandread netstat notify +printenv ps reboot renice restorecon rm rmdir rmmod route runcon schedtop +sendevent setconsole setenforce setprop setsebool sleep smd start stop +sync top touch umount uptime vmstat watchprops wipe + + +## Android 4.0 (IceCreamSandwich) + +BSD: cat dd newfs\_msdos + +toolbox: chmod chown cmp date df dmesg getevent getprop hd id ifconfig +iftop insmod ioctl ionice kill ln log ls lsmod lsof mkdir mount mv +nandread netstat notify printenv ps reboot renice rm rmdir rmmod route +schedtop sendevent setconsole setprop sleep smd start stop sync top +touch umount uptime vmstat watchprops wipe + + +## Android 2.3 (Gingerbread) + +BSD: cat dd newfs\_msdos + +toolbox: chmod chown cmp date df dmesg getevent getprop hd id ifconfig +iftop insmod ioctl ionice kill ln log ls lsmod lsof mkdir mount mv +nandread netstat notify printenv ps reboot renice rm rmdir rmmod route +schedtop sendevent setconsole setprop sleep smd start stop sync top +umount uptime vmstat watchprops wipe \ No newline at end of file