Loading shell_and_utilities/README.md +32 −36 Original line number Original line Diff line number Diff line Android's shell and utilities # Android's shell and utilities ============================= Since IceCreamSandwich Android has used Since IceCreamSandwich Android has used [mksh](https://www.mirbsd.org/mksh.htm) as its shell. Before then it used [mksh](https://www.mirbsd.org/mksh.htm) as its shell. Before then it used Loading Loading @@ -34,8 +33,7 @@ commands than there are symlinks for in `/system/bin`. You can get the full list for a release by running `toybox` directly. full list for a release by running `toybox` directly. Android 2.3 (Gingerbread) ## Android 2.3 (Gingerbread) ------------------------- BSD: cat dd newfs\_msdos BSD: cat dd newfs\_msdos Loading @@ -46,8 +44,7 @@ schedtop sendevent setconsole setprop sleep smd start stop sync top umount uptime vmstat watchprops wipe umount uptime vmstat watchprops wipe Android 4.0 (IceCreamSandwich) ## Android 4.0 (IceCreamSandwich) ------------------------------ BSD: cat dd newfs\_msdos BSD: cat dd newfs\_msdos Loading @@ -58,8 +55,7 @@ schedtop sendevent setconsole setprop sleep smd start stop sync top touch umount uptime vmstat watchprops wipe touch umount uptime vmstat watchprops wipe Android 4.1-4.3 (JellyBean) ## Android 4.1-4.3 (JellyBean) --------------------------- BSD: cat cp dd du grep newfs\_msdos BSD: cat cp dd du grep newfs\_msdos Loading @@ -71,8 +67,7 @@ sendevent setconsole setenforce setprop setsebool sleep smd start stop sync top touch umount uptime vmstat watchprops wipe sync top touch umount uptime vmstat watchprops wipe Android 4.4 (KitKat) ## Android 4.4 (KitKat) -------------------- BSD: cat cp dd du grep newfs\_msdos BSD: cat cp dd du grep newfs\_msdos Loading @@ -84,8 +79,7 @@ schedtop sendevent setconsole setenforce setprop setsebool sleep smd start stop swapoff swapon sync top touch umount uptime vmstat watchprops wipe stop swapoff swapon sync top touch umount uptime vmstat watchprops wipe Android 5.0 (Lollipop) ## Android 5.0 (Lollipop) ---------------------- BSD: cat chown cp dd du grep kill ln mv printenv rm rmdir sleep sync BSD: cat chown cp dd du grep kill ln mv printenv rm rmdir sleep sync Loading @@ -97,8 +91,7 @@ sendevent setenforce setprop setsebool smd start stop swapoff swapon top touch umount uptime vmstat watchprops wipe top touch umount uptime vmstat watchprops wipe Android 6.0 (Marshmallow) ## Android 6.0 (Marshmallow) ------------------------- BSD: dd du grep BSD: dd du grep Loading @@ -118,8 +111,7 @@ time timeout touch tr true truncate umount uname uniq unix2dos usleep vmstat wc which whoami xargs yes vmstat wc which whoami xargs yes Android 7.0 (Nougat) ## Android 7.0 (Nougat) -------------------- BSD: dd grep BSD: dd grep Loading @@ -140,8 +132,7 @@ time timeout touch tr true truncate tty ulimit umount uname uniq unix2dos uptime usleep vmstat wc which whoami xargs xxd yes uptime usleep vmstat wc which whoami xargs xxd yes Android 8.0 (Oreo) ## Android 8.0 (Oreo) ------------------ BSD: dd grep BSD: dd grep Loading @@ -164,8 +155,8 @@ sysctl tac tail tar taskset tee time timeout top touch tr true truncate tty ulimit umount uname uniq unix2dos uptime usleep uudecode uuencode tty ulimit umount uname uniq unix2dos uptime usleep uudecode uuencode vmstat wc which whoami xargs xxd yes zcat vmstat wc which whoami xargs xxd yes zcat Android P --------- ## Android 9.0 (Pie) BSD: dd grep BSD: dd grep Loading @@ -190,8 +181,8 @@ tail tar taskset tee time timeout top touch tr true truncate tty ulimit umount uname uniq unix2dos uptime usleep uudecode uuencode vmstat wc umount uname uniq unix2dos uptime usleep uudecode uuencode vmstat wc which whoami xargs xxd yes zcat which whoami xargs xxd yes zcat Android Q --------- ## Android Q BSD: grep fsck\_msdos newfs\_msdos BSD: grep fsck\_msdos newfs\_msdos Loading @@ -201,17 +192,22 @@ one-true-awk: awk toolbox: getevent getprop toolbox: getevent getprop toybox: acpi base64 basename blockdev cal cat chcon chgrp chmod chown toybox: acpi base64 basename bc blkid blockdev cal cat chattr chcon chgrp chroot chrt cksum clear cmp comm cp cpio cut date dd df diff dirname chmod chown chroot chrt cksum clear cmp comm cp cpio cut date dd df dmesg dos2unix du echo env expand expr fallocate false file find flock diff dirname dmesg dos2unix du echo egrep env expand expr fallocate fmt free getenforce groups gunzip gzip head hostname hwclock id ifconfig false fgrep file find flock fmt free freeramdisk fsfreeze getconf inotifyd insmod ionice iorenice kill killall ln load\_policy log logname getenforce getfattr grep groups gunzip gzip head help hostname hwclock losetup ls lsmod lsof lspci lsusb md5sum microcom mkdir mkfifo mknod i2cdetect i2cdump i2cget i2cset iconv id ifconfig inotifyd insmod mkswap mktemp modinfo modprobe more mount mountpoint mv nc netcat netstat install ionice iorenice iotop kill killall ln load\_policy log logname nice nl nohup nsenter od paste patch pgrep pidof pkill pmap printenv losetup ls lsattr lsmod lsof lspci lsusb makedevs md5sum microcom printf ps pwd readlink realpath renice restorecon rm rmdir rmmod runcon mkdir mkfifo mknod mkswap mktemp modinfo modprobe more mount mountpoint sed sendevent seq setenforce setprop setsid sha1sum sha224sum sha256sum mv nbd-client nc netcat netstat nice nl nohup nproc nsenter od partprobe sha384sum sha512sum sleep sort split start stat stop strings stty swapoff paste patch pgrep pidof ping ping6 pivot\_root pkill pmap printenv swapon sync sysctl tac tail tar taskset tee time timeout top touch tr printf prlimit ps pwd pwdx readlink realpath renice restorecon rev true truncate tty ulimit umount uname uniq unix2dos unshare uptime usleep rfkill rm rmdir rmmod runcon sed sendevent seq setenforce setfattr uudecode uuencode vmstat wc which whoami xargs xxd yes zcat 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 Loading
shell_and_utilities/README.md +32 −36 Original line number Original line Diff line number Diff line Android's shell and utilities # Android's shell and utilities ============================= Since IceCreamSandwich Android has used Since IceCreamSandwich Android has used [mksh](https://www.mirbsd.org/mksh.htm) as its shell. Before then it used [mksh](https://www.mirbsd.org/mksh.htm) as its shell. Before then it used Loading Loading @@ -34,8 +33,7 @@ commands than there are symlinks for in `/system/bin`. You can get the full list for a release by running `toybox` directly. full list for a release by running `toybox` directly. Android 2.3 (Gingerbread) ## Android 2.3 (Gingerbread) ------------------------- BSD: cat dd newfs\_msdos BSD: cat dd newfs\_msdos Loading @@ -46,8 +44,7 @@ schedtop sendevent setconsole setprop sleep smd start stop sync top umount uptime vmstat watchprops wipe umount uptime vmstat watchprops wipe Android 4.0 (IceCreamSandwich) ## Android 4.0 (IceCreamSandwich) ------------------------------ BSD: cat dd newfs\_msdos BSD: cat dd newfs\_msdos Loading @@ -58,8 +55,7 @@ schedtop sendevent setconsole setprop sleep smd start stop sync top touch umount uptime vmstat watchprops wipe touch umount uptime vmstat watchprops wipe Android 4.1-4.3 (JellyBean) ## Android 4.1-4.3 (JellyBean) --------------------------- BSD: cat cp dd du grep newfs\_msdos BSD: cat cp dd du grep newfs\_msdos Loading @@ -71,8 +67,7 @@ sendevent setconsole setenforce setprop setsebool sleep smd start stop sync top touch umount uptime vmstat watchprops wipe sync top touch umount uptime vmstat watchprops wipe Android 4.4 (KitKat) ## Android 4.4 (KitKat) -------------------- BSD: cat cp dd du grep newfs\_msdos BSD: cat cp dd du grep newfs\_msdos Loading @@ -84,8 +79,7 @@ schedtop sendevent setconsole setenforce setprop setsebool sleep smd start stop swapoff swapon sync top touch umount uptime vmstat watchprops wipe stop swapoff swapon sync top touch umount uptime vmstat watchprops wipe Android 5.0 (Lollipop) ## Android 5.0 (Lollipop) ---------------------- BSD: cat chown cp dd du grep kill ln mv printenv rm rmdir sleep sync BSD: cat chown cp dd du grep kill ln mv printenv rm rmdir sleep sync Loading @@ -97,8 +91,7 @@ sendevent setenforce setprop setsebool smd start stop swapoff swapon top touch umount uptime vmstat watchprops wipe top touch umount uptime vmstat watchprops wipe Android 6.0 (Marshmallow) ## Android 6.0 (Marshmallow) ------------------------- BSD: dd du grep BSD: dd du grep Loading @@ -118,8 +111,7 @@ time timeout touch tr true truncate umount uname uniq unix2dos usleep vmstat wc which whoami xargs yes vmstat wc which whoami xargs yes Android 7.0 (Nougat) ## Android 7.0 (Nougat) -------------------- BSD: dd grep BSD: dd grep Loading @@ -140,8 +132,7 @@ time timeout touch tr true truncate tty ulimit umount uname uniq unix2dos uptime usleep vmstat wc which whoami xargs xxd yes uptime usleep vmstat wc which whoami xargs xxd yes Android 8.0 (Oreo) ## Android 8.0 (Oreo) ------------------ BSD: dd grep BSD: dd grep Loading @@ -164,8 +155,8 @@ sysctl tac tail tar taskset tee time timeout top touch tr true truncate tty ulimit umount uname uniq unix2dos uptime usleep uudecode uuencode tty ulimit umount uname uniq unix2dos uptime usleep uudecode uuencode vmstat wc which whoami xargs xxd yes zcat vmstat wc which whoami xargs xxd yes zcat Android P --------- ## Android 9.0 (Pie) BSD: dd grep BSD: dd grep Loading @@ -190,8 +181,8 @@ tail tar taskset tee time timeout top touch tr true truncate tty ulimit umount uname uniq unix2dos uptime usleep uudecode uuencode vmstat wc umount uname uniq unix2dos uptime usleep uudecode uuencode vmstat wc which whoami xargs xxd yes zcat which whoami xargs xxd yes zcat Android Q --------- ## Android Q BSD: grep fsck\_msdos newfs\_msdos BSD: grep fsck\_msdos newfs\_msdos Loading @@ -201,17 +192,22 @@ one-true-awk: awk toolbox: getevent getprop toolbox: getevent getprop toybox: acpi base64 basename blockdev cal cat chcon chgrp chmod chown toybox: acpi base64 basename bc blkid blockdev cal cat chattr chcon chgrp chroot chrt cksum clear cmp comm cp cpio cut date dd df diff dirname chmod chown chroot chrt cksum clear cmp comm cp cpio cut date dd df dmesg dos2unix du echo env expand expr fallocate false file find flock diff dirname dmesg dos2unix du echo egrep env expand expr fallocate fmt free getenforce groups gunzip gzip head hostname hwclock id ifconfig false fgrep file find flock fmt free freeramdisk fsfreeze getconf inotifyd insmod ionice iorenice kill killall ln load\_policy log logname getenforce getfattr grep groups gunzip gzip head help hostname hwclock losetup ls lsmod lsof lspci lsusb md5sum microcom mkdir mkfifo mknod i2cdetect i2cdump i2cget i2cset iconv id ifconfig inotifyd insmod mkswap mktemp modinfo modprobe more mount mountpoint mv nc netcat netstat install ionice iorenice iotop kill killall ln load\_policy log logname nice nl nohup nsenter od paste patch pgrep pidof pkill pmap printenv losetup ls lsattr lsmod lsof lspci lsusb makedevs md5sum microcom printf ps pwd readlink realpath renice restorecon rm rmdir rmmod runcon mkdir mkfifo mknod mkswap mktemp modinfo modprobe more mount mountpoint sed sendevent seq setenforce setprop setsid sha1sum sha224sum sha256sum mv nbd-client nc netcat netstat nice nl nohup nproc nsenter od partprobe sha384sum sha512sum sleep sort split start stat stop strings stty swapoff paste patch pgrep pidof ping ping6 pivot\_root pkill pmap printenv swapon sync sysctl tac tail tar taskset tee time timeout top touch tr printf prlimit ps pwd pwdx readlink realpath renice restorecon rev true truncate tty ulimit umount uname uniq unix2dos unshare uptime usleep rfkill rm rmdir rmmod runcon sed sendevent seq setenforce setfattr uudecode uuencode vmstat wc which whoami xargs xxd yes zcat 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