Simply head to your desired directory in Finder and pressCommand + Shift + Period (.

)on your keyboard.

Now, you may see a bunch of translucent files or folders in this directory.

a MacBook Air showing hidden files in the Macintosh HD directory

Smartmockups

These are the ones that are hidden in macOS.

If you don’t see any, it means there are no hidden files in this directory.

it’s possible for you to repeat this keyboard shortcut to hide these files again from plain sight.

Mac showing hidden files in the Macintosh HD directory

This is just one of theseveral useful Mac keyboard shortcutsthat make your life easier.

This keyboard shortcut will also unhide hidden files and folders in other directories.

So, remember to pressCommand + Shift + Period (.

Terminal command for unhiding all hidden Mac files

)once more to hide them again.

But remember to enter thekillall Findercommand after this as well.

Instead, you want to view hidden files in a particular directory.

Terminal commands to show hidden files in a directory

In that case, you better head to the directory in Terminal using thecdcommand.

In my example, I chose to unhide a folder named “Dubai” by typingchflags nohidden Dubai.

)before their names to make them disappear from plain sight.

chflags nohidden command in Terminal

Hiding a folder on your Mac doesn’t hide the files inside it.

Remember that many files and folders are hidden on your Mac for a reason.

So confirm you know what you’re doing when accessing hidden files that are necessary for macOS to operate.