From 8fe7d1455c306bbd3ecefca69a04ac1e3d285c66 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Wed, 7 Mar 2018 16:15:41 +0800 Subject: [PATCH] adb: attribute and update formatting --- adb.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/adb.md b/adb.md index e71f80f2..91444dbb 100644 --- a/adb.md +++ b/adb.md @@ -1,9 +1,11 @@ --- -title: adb +title: adb (Android Debug Bridge) category: CLI layout: 2017/sheet weight: -1 -updated: 2018-3-6 +authors: + - github: ZackNeyland +updated: 2018-03-06 --- ### Device Basics @@ -26,11 +28,15 @@ updated: 2018-3-6 `-s` can be used to send the commands to a specific device when multiple are connected. #### Examples + ``` $ adb wait-for-device devices List of devices attached somedevice-1234 device someotherdevice-1234 device +``` + +``` $ adb -s somedevice-1234 root ``` @@ -59,6 +65,7 @@ $ adb logcat *:V > output.log | `adb pull ` | Copies the remote from the device to local | #### Examples + ``` $ echo "This is a test" > test.txt $ adb push test.txt /sdcard/test.txt