Is there any way to store the output of adb devices -l command to a text file?

Note: output of adb devices -l command is

List of devices attached
1101530abd5a234b       device product:j1pop3hjv model:SM_J110H device:j1pop3h

You can use > after any command followed by file name or file path where you want to save the file. It would look like this:

adb devices -l > FILE_NAME

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.