ACC Logo
ADBFiles & StorageSafe

adb shell ls -la <path>

List files and permissions in directory

What It Does

Lists all files, hidden items, owner permissions, SELinux contexts, and timestamps inside an Android directory.

Command Syntax
Terminal
$adb shell ls -la [path]
Parameters & Placeholders Breakdown

This command syntax includes specific placeholder tokens. Below is an explanation of what each word represents and concrete real-world values to replace it with:

[path]Target File or Directory Path

A file or folder path on the Android device or host machine.

Real-world value:/sdcard/screenshot.png
Command syntax: adb shell screencap -p /sdcard/screenshot.png
Usage Examples
$adb shell ls -la /sdcard/
$adb shell ls -la /data/local/tmp/
Options & Flags
Flag / ParameterDescription
-lLong listing format.
-aShow all files including hidden entries starting with dot.
Prerequisites & Requirements
  • Device connected
Related Commands
Found an error or missing flag for adb shell ls -la <path>?

Submit a correction or request additional examples on GitHub.

Having issue? Contact @mkr_infinity

Direct technical assistance & ROM flashing troubleshooting by Mohammad Kaif Raja.

Contact @mkr_infinity