adb shell ls /system/bin

adb shell ls /system/bin

可以查看可用adb shell 命令。 并且大部分命令 可以通過 --help 獲得參數(shù)幫助。例如,

adb shell cat --help

Toybox 0.8.4-android multicall binary: https://landley.net/toybox (see toybox --help)

usage: cat [-etuv] [FILE...]

Copy (concatenate) files to stdout.? If no files listed, copy from stdin.

Filename "-" is a synonym for stdin.

-e? ? ? Mark each newline with $

-t? ? ? Show tabs as ^I

-u? ? ? Copy one byte at a time (slow)

-v? ? ? Display nonprinting characters as escape sequences with M-x for

? ? ? ? high ascii characters (>127), and ^x for other nonprinting chars



adb shell screenrecord --help

Usage: screenrecord [options] <filename>

Android screenrecord v1.3.? Records the device's display to a .mp4 file.

Options:

--size WIDTHxHEIGHT

? ? Set the video size, e.g. "1280x720".? Default is the device's main

? ? display resolution (if supported), 1280x720 if not.? For best results,

? ? use a size supported by the AVC encoder.

--bit-rate RATE

? ? Set the video bit rate, in bits per second.? Value may be specified as

? ? bits or megabits, e.g. '4000000' is equivalent to '4M'.? Default 20Mbps.

--bugreport

? ? Add additional information, such as a timestamp overlay, that is helpful

? ? in videos captured to illustrate bugs.

--time-limit TIME

? ? Set the maximum recording time, in seconds.? Default / maximum is 180.

--display-id ID

? ? specify the physical display ID to record. Default is the primary display.

? ? see "dumpsys SurfaceFlinger --display-id" for valid display IDs.

--verbose

? ? Display interesting information on stdout.

--help

? ? Show this message.

Recording continues until Ctrl-C is hit or the time limit is reached.

?著作權歸作者所有,轉載或內容合作請聯(lián)系作者
【社區(qū)內容提示】社區(qū)部分內容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發(fā)布,文章內容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內容

友情鏈接更多精彩內容