How to store 'adb devices -l' output to a text file? 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 &gt; 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 &gt; FILE_NAME