Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Is there any way to store the output of adb devices -l command to a text file?
adb devices -l
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