IP address of the first network interface on macOS
To get the IP address of the first network interface on macOS use:
ipconfig getifaddr en0
To get the IP address of the first network interface on macOS use:
ipconfig getifaddr en0
To disable screenshot drop shadows on macOS use:
defaults write \
com.apple.screencapture \
disable-shadow -bool TRUE
killall SystemUIServer
Replace TRUE
with FALSE
to revert back to the default.