This may be of use:
> defaults write com.apple.finder AppleShowAllFiles -bool true
Change to `false` to reverse it. You have to `killall Finder` or force quit it for each to take effect.
Also, Shift-Command-. (dot) in Finder. You can find a lot of useful settings that can be adjusted to your preferred mode digging through this repo (not affiliated): https://github.com/mathiasbynens/dotfiles