I used adb push lol.png /storage/sdcard0/
to push a test file to my Galaxy S6, and the file was transferred successfully while failed to show up in my Android File Transfer. This is probably due to the fact that S6 doesn't have sdcard0 directory.
I like to remove the file I transferred (and the sdcard0 directory I accidentally created. But I don't know how to list remote directory via ADB. Is that possible? And How?
adb shell ls /
. Like Izzy said, look at the manual for these commands. – Matthew Read Aug 06 '15 at 04:49adb shell
often depends on device and/or ROM. To make sure where you are:cd /
places you in the root. Always. – Izzy Aug 06 '15 at 17:59