How to capture a screenshot using ADB

Use the following command to do this: