真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

安卓linux命令行 安卓 linux

android 中l(wèi)inux 命令pm常見用法(安裝卸載app)

27種用法格式 :

創(chuàng)新互聯(lián)公司網(wǎng)站建設(shè)公司,提供網(wǎng)站制作、成都做網(wǎng)站,網(wǎng)頁設(shè)計(jì),建網(wǎng)站,PHP網(wǎng)站建設(shè)等專業(yè)做網(wǎng)站服務(wù);可快速的進(jìn)行網(wǎng)站開發(fā)網(wǎng)頁制作和功能擴(kuò)展;專業(yè)做搜索引擎喜愛的網(wǎng)站,是專業(yè)的做網(wǎng)站團(tuán)隊(duì),希望更多企業(yè)前來合作!

用法說明 :

1、 pm list packages : prints all packages, optionally only those whose package name contains the text in FILTER. Options:

例子:列出系統(tǒng)中所有packages

2、 pm list permission-groups : prints all known permission groups.

例子:

3、 pm list permissions : prints all known permissions, optionally only those in GROUP. Options:

例子:列出系統(tǒng)所有許可

4、 pm list instrumentation : use to list all test packages; optionally supply to list the test packages for a particular application. Options:

-f: list the .apk file for the test package.

5、 pm list features : prints all features of the system.

例子:列出所有手機(jī)特性

6、 pm list users : prints all users on the system.

例子:

7、 pm path : print the path to the .apk of the given PACKAGE.

例子:按包名查找apk文件所在路徑

8、 pm dump : print system state associated with the given PACKAGE.

9、 pm install : installs a package to the system. Options:

例子:

10、 pm uninstall : removes a package from the system. Options:

-k: keep the data and cache directories around after package removal. 保留數(shù)據(jù)

例子:

11、 pm clear : deletes all data associated with a package..

例子:只刪除數(shù)據(jù)

12、 pm enable, disable, disable-user, disable-until-used : these commands change the enabled state of a given package or component (written as "package/class").

13、 pm grant, revoke : these commands either grant or revoke permissions to applications. Only optional permissions the application has declared can be granted or revoked.

14、 pm get-install-location : returns the current install location.

15、 pm set-install-location : changes the default install location.

NOTE: this is only intended for debugging; using this can cause applications to break and other undersireable behavior.

16、 pm trim-caches : trim cache files to reach the given free space.

17、 pm create-user : create a new user with the given USER_NAME, printing the new user identifier of the user. 創(chuàng)建新用戶

18、 pm remove-user : remove the user with the given USER_IDENTIFIER, deleting all data associated with that user 。 按用戶ID刪除用戶

安卓Linux環(huán)境下的dd命令使用總結(jié)

dd :用指定大小的塊拷貝一個(gè)文件,并在拷貝的同時(shí)進(jìn)行指定的轉(zhuǎn)換。

注意:指定數(shù)字的地方若以下列字符結(jié)尾,則乘以相應(yīng)的數(shù)字: b=512 ; c=1 ; k=1024 ; w=2

參數(shù)注釋:

4、備份與恢復(fù)MBR

·備份文件開始的512個(gè)字節(jié)大小的MBR信息到指定文件:

#dd if=/system/xbin/busybox of=/data/local/tmp/bb count=1 bs=512

· count=1 指僅拷貝一個(gè)塊; bs=512 指塊大小為512個(gè)字節(jié)

·恢復(fù):

#dd if=/data/local/tmp/bb of=/data/local/tmp/bbb

·將備份的MBR信息寫到磁盤開始部分

/dev/null ,外號叫無底洞,你可以向它輸出任何數(shù)據(jù),它通吃,并且不會(huì)撐著!

/dev/zero ,是一個(gè)輸入設(shè)備,你可你用它來初始化文件。該設(shè)備無窮盡地提供 0 ,可以使用任何你需要的數(shù)目——設(shè)備提供的要多的多。他可以用于向設(shè)備或文件寫入字符串 0 。

/dev/null ——它是空設(shè)備,也稱為位桶( bit bucket )。任何寫入它的輸出都會(huì)被拋棄。如果不想讓消息以標(biāo)準(zhǔn)輸出顯示或?qū)懭胛募敲纯梢詫⑾⒅囟ㄏ虻轿煌啊?/p>

如何打開android命令行終端

1、連接電腦上,用adb打開,android命令行終端即可。

2、如果你想直接在android上打開,可以安裝一個(gè)android terminal,在手機(jī)上使用linux命令行。

擴(kuò)展資料:

終端命令sudo: Executing Commands with Elevated Privileges 執(zhí)行命令特權(quán) sudo是允許系統(tǒng)管理員讓普通用戶執(zhí)行一些或者全部的root命令的一個(gè)工具,如halt,reboot,su等等。這樣不僅減少了root用戶的登陸 和管理時(shí)間,同樣也提高了安全性。Sudo不是對shell的一個(gè)代替,它是面向每個(gè)命令的。

app_0是用戶名,也就是終端在系統(tǒng)中的名字。android是主機(jī)名/ 表示當(dāng)前路徑。

這些信息存儲(chǔ)在變量PS1中,自己可以改變。改成彩色更加美觀,而且輸入命令后更加容易找到提示符。有一個(gè)重要的基本變量是PATH,這叫命令搜索路徑。

參考資料:安卓中文網(wǎng)--在手機(jī)端使用命令行刷入Recovery教程詳解


新聞標(biāo)題:安卓linux命令行 安卓 linux
網(wǎng)站地址:http://weahome.cn/article/dosiepj.html

其他資訊

在線咨詢

微信咨詢

電話咨詢

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部