android - Retrieve all folders using root (su) in ADB -


how retrieve folders using su in 1 command? without root use

adb shell "ls -r / | grep /" 

and when try

adb shell su "ls -r / | grep /" 

it doesn't work. how must syntax work?

use -c option of su execute command. need 2 levels of quotes --

adb shell "su -c 'ls -r / | grep /'" 

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -