Viewing hidden files on Mac is very simple, and you can do it with a simple Terminal command. By default, macOS comes to us with certain hidden files. Some directories, such as those that begin with a period, or certain important operating system files, remain hidden so as not to annoy the user. Do you want to know how to show them again and see them in Finder?
We’ve already talked to you several times about directories and hidden files such as the DS_Store, or directories that start at point, which usually contain configuration files and other add-ons that remain invisible to the user for their convenience. However, can we show those hidden files?
The answer is yes. Through a single terminal command we can show those system files that remain hidden to write or read them, depending on the permissions they have of course.
But beware. Activating this command will cause you to see files in practically all Finder folders, something a bit annoying, so let’s see several options.
Recommended: How to save iPhone contacts in iCloud
- Open a Terminal.
- Enter the following command in the Terminal: ” defaults write com.apple.finder AppleShowAllFiles TRUE KillAll Finder”
You will automatically see all the hidden files . They will appear everywhere in Finder, and many of them should not be deleted.
The vast majority make adjustments in the display of the folders, and others maintain configurations of the applications. So be careful. If they are invisible to the user, it is for something.
I suppose if you got here it’s because you need to edit some file, folder or directory. I’m going to give you some commands so you do not have to show all the hidden files .
Simply open a Terminal and enter these commands:
- Command “ls -la” : lists all files in a directory, including hidden ones.
- Command “cat.archivo” : replaces the “file” with the name. It shows the contents of a file (important to put the point in front). Very useful to see in the terminal that contains a hidden file. It does not work for directories, that’s what the previous command is for.
- Command “Open / Applications / TextEdit.app. File” : Graphically edit a hidden file using TextEdit. I recommend more the use of alternatives like Sublime Text to keep the file without rich format.
There are many more. If you have doubts, ask in the comments and we will give you a custom command for what you need, instead of using the command of the first method to see all the hidden files on Mac.