Turn Off macOS Mojave Screenshot Preview Thumbnails with defaults write command
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