Apple’s Mac has loads of files and folders hidden somewhere in it and they cannot be interfered. Sometimes, we need to access these folders to troubleshoot an error continually occurring in Mac. Also, the system, at times, asks to delete or remove the files from the system, and when we perform the task, it becomes a headache since we cannot find or locate the file.
You might be confronting the same issue and wondering how you will locate the files which need to be deleted. The situation becomes worse for the users who switched to Mac from Windows. Windows system has the facility to show the hidden files with a few clicks but, the Mac takes a little effort which could be complicated without proper knowledge about the process.
You might be thinking that why these files and folders are hidden. Well, these files and folders could be harmful if modified or changed and cause a serious to the operating system. In order to keep these files away from the reach of users, the developers have kept these hidden in the system. But don’t worry, there is a way through you can also show the hidden files in your Mac system. The guide will direct you to locate the hidden files in the ~/Library folder.
Here’s how to display hidden files in Mac
Open Finder in your system.
- Go to Applications and select Utilities.
- Now, click Terminal to open.
- Type defaults write apple.finder AppleShowAllFiles Yes and press Return button.
- Now, press the Option key from your keyboard and right-click on Finder
- Now, click Relaunch.
- Now, you will able to see the hidden files.
There is another method that you can follow to show the hidden files.
- Open Finder and got Applications.
- Now, select Utilities and click Terminal.
- Type sudo nano ~/.bash_profile and press the Return
- Now enter the administration password and press Return
- Now, type alias showFiles= ‘defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app’
- Now, type alias hideFiles= ‘defaults write com.apple.finder AppleShowAllFiles No; killall Finder /System/Library/CoreServices/Finder.app’
- Press Ctrl + O buttons and press Return button to save the file.
- Press Ctrl + X. It is a shortcut to exit the file, and you will return to the command line.
- Open, Terminal and type source ~/.bash_profile.
- It will refresh your profile and make the aliases available.
View ~/Library Folder
- Open Finder in your Mac.
- Click Device and navigate to Macintosh HD folder.
- Long hold “Cmd + Shift +.” button to show the hidden files.
- Hold the same key combination to hide the files.
Or else, do the following:
- In Finder, choose Go from the menu bar.
- Now, select Go to Folder or press Shift + Cmd + G key combination.
- A text will appear.
- Now, type ~/Library in the text box and click Go.
- Now, the files and folders will be visible which you can access in your Mac.
As mentioned above, the hidden files if modified then the chances of system damage increases. So if you are a professional user, then try to access the hidden content or else your system will face problems.