如何使用亚行的壳呢? [英] How do I use the ADB shell?

查看:192
本文介绍了如何使用亚行的壳呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何控制我的android手机与亚行的壳呢?

How do I control my android phone with the ADB shell?

请给我的命令,亚行

推荐答案

亚行外壳为您提供了一个灰分壳的装置中,这是一个sh兼容外壳上运行。所以,你有标准的SH建宏: CD 回声

adb shell gives you an ash shell running on the device, which is an sh-compatible shell. So you've got the standard sh builtins: cd, echo, etc.

再就是对 PATH 命令二进制文件。我的手机(Nexus One的,Android的2.2.2)有以下几点:

Then there are the command binaries on the PATH. My phone (Nexus One, Android 2.2.2) has the following:

$ ls /system/bin
logwrapper
logcat
nandread
linker
ionice
keystore
installd
hciattach
fsck_msdos
dumpsys
dumpstate
wpa_supplicant
dhcpcd
sleep
dexopt
vold
stop
bluetoothd
route
am
cmp
surfaceflinger
iftop
wipe
monkey
id
toolbox
insmod
sync
notify
cat
ioctl
top
dbus-daemon
rmdir
sh
date
ps
ifconfig
servicemanager
ln
netstat
vdc
sendevent
input
vmstat
schedtop
service
brcm_patchram_plus
mount
dd
bootanimation
tc
hd
getprop
ime
setprop
sdptool
ls
chown
log
run-as
pand
dmesg
schedtest
chmod
pm
kill
rm
df
rild
smd
dalvikvm
mkdir
reboot
omx_tests
bugreport
app_process
lsmod
svc
racoon
netd
dvz
akmd
umount
newfs_msdos
ndc
printenv
gzip
renice
watchprops
mv
bmgr
start
mediaserver
pppd
getevent
rmmod
setconsole
system_server
ping
mm-venc-omx-test
iptables
parse_radio_log
applypatch
dnsmasq
debuggerd
netcfg
mtpd

有关于 PATH 其他目录,但这些都不是可访问的(除非你已经植根您的设备?)。

There are other directories on the PATH, but none of these are accessible (unless you've rooted your device?).

又见文档

这篇关于如何使用亚行的壳呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆