Recently I needed to capture the screen of a device using adb.
So I did the standard Google search to find the answer but really I just found partial answers that pointed me in the right direction to the answer.
So, in case you, like me, are looking for a simple way to capture the devices screen using adb here is the macOS / Linux terminal command that does it, the easy way.
adb shell screencap -p > screen.png