How do I disable AppNap for Terminal? Get Info on Terminal does not have
Prevent App Nap check box
An alternative is to turn the
NSAppSleepDisabled flag on, but will it actually work?
$ defaults write com.apple.Terminal NSAppSleepDisabled -bool YES
Why Disable App Nap for Terminal
I frequently have long running jobs on Terminal, such as debugging a server, downloading large files or backing up large amount of files. There is a risk of interrupting a network session when (if?) App Nap is enabled for Terminal.