Turn Off macOS Mojave Screenshot Preview Thumbnails with defaults write command

Solution 1:

The domain is com.apple.screencapture and the key is show-thumbnail. So:

defaults write com.apple.screencapture show-thumbnail -bool TRUE

and

defaults write com.apple.screencapture show-thumbnail -bool FALSE