To reverse it, replace true with false .
defaults write com.apple.Finder AppleShowAllFiles true killall Finder The first command changes a hidden setting in Finder’s configuration. The second restarts Finder so the change takes effect. mac os show hidden files
More dangerously, you might be tempted to delete “mysterious” files to free up space. Don’t. A 4KB .bash_history isn’t the reason your startup disk is full. To reverse it, replace true with false
These dotfiles store user preferences, shell configurations, application caches, and version control metadata. Deleting ~/.zshrc by accident could break your command-line setup. Deleting /.Spotlight-V100 might force Spotlight to reindex your entire drive. To reverse it