Utility to take screenshots and screen recordings. More information: https://keith.github.io/xcode-man-pages/screencapture.1.html.
screencapture path/to/file.png
screencapture -C path/to/file.png
screencapture -P
screencapture -i path/to/file.png
screencapture -T seconds path/to/file.png
screencapture -v path/to/file.mp4