MacOS has a specialty that it won’t show many important system files and operating system folders for the users. Unlike the Windows operating system, most of the system files are hidden for a good reason. So it is not easily possible for us to view the hidden files. However, we have a trick to show hidden files on macOS.
These files are hidden for a good reason. Otherwise, a novice user might delete or change some important system files, and that will cause system-wide severe issues and data loss. Unhiding those files only if you are very sure about what you are going to do. You will only have to do this if some malware or any file mismanagement infect your Mac.
How to show hidden files on macOS
There are multiple methods to unhide the files in the library on macOS. However, here we are discussing the easiest method only. It involves a basic terminal operation, and anyone can do it quickly without much struggle. But make sure you are doing it correctly. Otherwise, you will mess up something.
- Open ‘Terminal’ app in your Mac. You can open this by clicking Spotlight and then search for the word “terminal.”
- Once the terminal is open, you can type the following command line in the terminal window: If your system is running OS 10.9 or later:
defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
- If it is running on OS X 10.8 and earlier, use this command instead:
defaults write com.apple.finder AppleShowAllFiles TRUE ; killall Finder.
These commands will show hidden files on macOS in your library, and you can them. Just make sure you are not accidentally changing or deleting any critical system files or folders.
How to re-hide files in macOS
Now you have successfully unhid the hidden files for your important work. Now it is recommended to re-hide those files and folders again. Otherwise, some other users or you might make some critical mistakes in the system folders. Follow the steps described below to re-hide the files again.
- Open Terminal. If you are using OS 10.9 or later, type the following command at the prompt:
defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder
- If you’re using OS X 10.8 and earlier, use this command instead:
defaults write com.apple.finder AppleShowAllFiles FALSE ; killall Finder.
These are the simple steps to unhide and re-hide the hidden system files and folders in macOS. It involves some very basic command lines only. Follow the commands carefully, and you will be all set. If you use this frequently, you might find this as a very time-consuming thing. Instead, you can set up a terminal alias, and it will save your time. However it is a complicated process, so we are not discussing it here.
- 10 Best Online Photo Sharing Websites
- Best Video Players for Android devices in 2019
- Best Loan apps for Android
- Best Photo Editing Apps for Android
- Best Video Editor Apps for iPhone
- Best Video Editing Apps for Android
- Best Android Launchers
- Best Android Apps To Draw On Pictures
- Best Android Keyboards with Clipboard Features
- Best Poster Maker Apps for Android