How can I view a simple text file via adb or adb shell ? I know there is fileExplorer that comes with ADT but its not very handy, I have pull a file every time, then open it,
is there a quick way on the command line ?
adb shell cat /sdcard/file.txt
cat
is the command for displaying text files in linux.
usage: cat [-beflnstv] [-] [file ...]
cat is the command which is useful to open text files in adb.
cat txtfile
or
cat txtfile.text
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With