Android 查看system/bin目录下支持哪些命令?
C:\Users\yonghuming>adb shell "ls system/bin" >log
acpi
adbd
am
app_process
app_process32
applypatch
appops
appwidget
arping
art
atrace
audioserver
base64
basename
bcc
blkid
blockdev
bmgr
bootanimation
bootctl
bootstat
brctl
bt_logger
bu
bugreport
bugreportz
bunzip2
bzcat
bzip2
cal
cameraserver
cat
chcon
chgrp
chmod
chown
chroot
chrt
cksum
clatd
clear
cmd
cmp
comm
content
cp
cpio
crash_dump32
curl
cut
dalvikvm
dalvikvm32
date
dd
debuggerd
dex2oat
dexdiag
dexdump
dexlist
dexoptanalyzer
df
diff
dirname
dmesg
dnsmasq
dos2unix
dpm
drmserver
du
dumpstate
dumpsys
dun-server
e2fsck
e2fsdroid
ebtables
echo
egrep
env
expand
expr
fallocate
false
fgrep
file
find
flock
fmconfig
fmfactorytest
fmfactorytestserver
free
fsck.f2fs
fsck_msdos
gatekeeperd
gdbserver
getenforce
getevent
getprop
grep
groups
gunzip
gzip
hal_ss_test_manual
head
healthd
hid
hostname
hw
hwclock
hwservicemanager
id
idmap
ifconfig
ime
incident
incidentd
inotifyd
input
inputlog
insmod
installd
ionice
iorenice
iotop
ip
ip-wrapper-1.0
ip6tables
ip6tables-restore
ip6tables-save
ip6tables-wrapper-1.0
iptables
iptables-restore
iptables-save
iptables-wrapper-1.0
iw
keystore
keystore_cli
keystore_cli_v2
kill
killall
ld.mc
linker
linker_asan
lmkd
ln
load_policy
locksettings
log
logcat
logcatd
logd
logname
lognode
logpersist.cat
logpersist.start
logpersist.stop
logwrapper
losetup
ls
lshal
lsmod
lsof
lspci
lsusb
make_ext4fs
make_f2fs
md5sum
mdnsd
media
mediadrmserver
mediaextractor
mediametrics
mediaserver
memory_replay32
memtest
microcom
mkdir
mke2fs
mkfifo
mknod
mkswap
mktemp
mm-audio-alsa-test
mm-qjpeg-dec-test
mm-qjpeg-enc-test
mm-qomx-idec-test
mm-qomx-ienc-test
mm-swvdec-test
mm-swvenc-test
modinfo
modprobe
monkey
more
mount
mountpoint
mtpd
mv
n_smux
ndc
ndc-wrapper-1.0
netd
netstat
netutils-wrapper-1.0
newfs_msdos
nice
nl
nohup
oatdump
od
paste
patch
patchoat
perfprofd
pgrep
pidof
ping
ping6
pkill
pktlogconf
pm
pmap
pppd
printenv
printf
profman
ps
pwd
qcat_unbuffered
qdc
qmi-framework-tests
racoon
readlink
realpath
reboot
renice
requestsync
resize2fs
restorecon
rm
rmdir
rmmod
run-as
runcon
schedtest
screencap
screenrecord
sdcard
secdiscard
secilc
sed
sendevent
sensorservice
seq
service
servicemanager
setenforce
setprop
setsid
settings
setup_fs
sgdisk
sh
sha1sum
sha224sum
sha256sum
sha384sum
sha512sum
sigma_dut
sleep
sload_f2fs
sm
sort
spectraltool
split
sqlite3
ss
start
stat
stop
storaged
strings
surfaceflinger
svc
swapoff
swapon
sync
sysctl
tac
tail
tar
taskset
tc
tc-wrapper-1.0
tee
telecom
test_module_pproc
thermalserviced
time
timeout
tinycap
tinymix
tinypcminfo
tinyplay
tloc_daemon
tombstoned
toolbox
top
touch
toybox
tr
tracepath
tracepath6
traceroute6
true
truncate
tty
tune2fs
tzdatacheck
uiautomator
ulimit
umount
uname
uncrypt
uniq
unix2dos
uptime
usleep
uudecode
uuencode
vdc
vmstat
vold
vr
wc
webview_zygote32
which
whoami
wificond
wm
xargs
xxd
yes
zcat
C:\Users\yonghuming>adb shell appwidget
usage: adb shell appwidget [subcommand] [options]
usage: adb shell appwidget grantbind --package <PACKAGE> [--user <USER_ID> | current]
<PACKAGE> an Android package name.
<USER_ID> The user id under which the package is installed.
Example:
# Grant the "foo.bar.baz" package to bind app widgets for the current user.
adb shell grantbind --package foo.bar.baz --user current
usage: adb shell appwidget revokebind --package <PACKAGE> [--user <USER_ID> | current]
<PACKAGE> an Android package name.
<USER_ID> The user id under which the package is installed.
Example:
# Revoke the permisison to bind app widgets from the "foo.bar.baz" package.
adb shell revokebind --package foo.bar.baz --user current
[ERROR] Unsupported operation: null