Files & Transfer
Android 5.0+
Risk: READ_ONLY
View Last N Lines of File
Outputs the final lines of a file.
Command Syntax
adb shell tail -n 50 /data/local/tmp/app.log
Generic Syntax:
tail -n <N> <file>
Real-World Usage Examples
Execute command
Outputs the final lines of a file.
adb shell tail -n 50 /data/local/tmp/app.log