%Begin View Hidden Files and Folders on Your Mac With Terminal GA
S
REGULAR Menu Lifewire Tech for Humans Newsletter! Search Close GO Computers, Laptops & Tablets > Apple
View Hidden Files and Folders on Your Mac With Terminal
What's hidden is revealed with the help of Terminal
By Tom Nelson Tom Nelson Writer Tom Nelson is an engineer, programmer, network manager, and computer network and systems designer who has written for Other World Computing,and others. Tom is also president of Coyote Moon, Inc., a Macintosh and Windows consulting firm.
thumb_upLike (3)
commentReply (2)
shareShare
visibility695 views
thumb_up3 likes
comment
2 replies
S
Scarlett Brown 4 minutes ago
lifewire's editorial guidelines Updated on April 26, 2021 Tweet Share Email Tweet Share Email Apple ...
A
Aria Nguyen 5 minutes ago
Apple's reasoning is good, but there are times when you may need to view these out-of-the-way corner...
S
Scarlett Brown Member
access_time
6 minutes ago
Thursday, 08 May 2025
lifewire's editorial guidelines Updated on April 26, 2021 Tweet Share Email Tweet Share Email Apple Macs iPad Your Mac has a few secrets, hidden folders, and files that are invisible to you. You may not even realize how much hidden data there is on your Mac, from basic things, such as preference files for user data and apps, to core system data that your Mac needs to run correctly. Apple hides these files and folders to prevent you from accidentally changing or deleting important data that your Mac needs.
thumb_upLike (27)
commentReply (3)
thumb_up27 likes
comment
3 replies
J
James Smith 1 minutes ago
Apple's reasoning is good, but there are times when you may need to view these out-of-the-way corner...
V
Victoria Lopez 3 minutes ago
Fortunately, Apple includes ways to access these hidden goodies in OS X and the more recent macOS. T...
Apple's reasoning is good, but there are times when you may need to view these out-of-the-way corners of your Mac's file system. You'll find that accessing these hidden corners of your Mac is one of the steps in many Mac troubleshooting guides, as well as guides for backing up important data, such as mail messages or Safari bookmarks.
thumb_upLike (1)
commentReply (1)
thumb_up1 likes
comment
1 replies
T
Thomas Anderson 15 minutes ago
Fortunately, Apple includes ways to access these hidden goodies in OS X and the more recent macOS. T...
J
Jack Thompson Member
access_time
12 minutes ago
Thursday, 08 May 2025
Fortunately, Apple includes ways to access these hidden goodies in OS X and the more recent macOS. This guide concentrate on using the Terminal app, which provides a command line-like interface to many of the Mac's core functions.
thumb_upLike (7)
commentReply (0)
thumb_up7 likes
Z
Zoe Mueller Member
access_time
5 minutes ago
Thursday, 08 May 2025
With Terminal, a simple command is all it takes to get your Mac to spill its secrets.
Terminal Is Your Friend
Launch Terminal, located at /Applications/Utilities/. Type or copy and paste the commands below into the Terminal window, one at a time, pressing ENTER after each one.
thumb_upLike (3)
commentReply (0)
thumb_up3 likes
D
David Cohen Member
access_time
18 minutes ago
Thursday, 08 May 2025
defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder Entering the two lines above into Terminal allows you to use the Finder to display all the hidden files on your Mac. The first line tells the Finder to display all files, regardless of how the hidden flag is set. The second line stops and restarts the Finder, so the changes can take effect.
thumb_upLike (26)
commentReply (0)
thumb_up26 likes
B
Brandon Kumar Member
access_time
14 minutes ago
Thursday, 08 May 2025
You may see your desktop disappear and reappear when you execute these commands; this is normal.
What Was Hidden Can Now Be Seen
Now that the Finder is displaying hidden files and folders, just what can you see?
thumb_upLike (5)
commentReply (3)
thumb_up5 likes
comment
3 replies
A
Amelia Singh 7 minutes ago
The answer depends on the specific folder you're looking at, but in just about every folder, you'll ...
N
Nathan Chen 12 minutes ago
More important than the ubiquitous .DS_Store file are the hidden folders that allow Mac users to acc...
The answer depends on the specific folder you're looking at, but in just about every folder, you'll see a file named .DS_Store. The DS_Store file contains information about the current folder, including the icon to use for the folder, the location its window will open in, and other bits of information the system needs.
thumb_upLike (28)
commentReply (3)
thumb_up28 likes
comment
3 replies
V
Victoria Lopez 12 minutes ago
More important than the ubiquitous .DS_Store file are the hidden folders that allow Mac users to acc...
J
Jack Thompson 3 minutes ago
For example, have you ever wondered where your email messages are stored? If you use Mail, you'll fi...
More important than the ubiquitous .DS_Store file are the hidden folders that allow Mac users to access files such as the Library folder within your Home folder. The Library folder contains many files and folders that relate to specific apps and services that you use on your Mac.
thumb_upLike (17)
commentReply (3)
thumb_up17 likes
comment
3 replies
S
Sophie Martin 11 minutes ago
For example, have you ever wondered where your email messages are stored? If you use Mail, you'll fi...
S
Scarlett Brown 22 minutes ago
Likewise, the Library folder contains your Calendar, Notes, Contacts, Saved Application States,...
For example, have you ever wondered where your email messages are stored? If you use Mail, you'll find them in the hidden Library folder.
thumb_upLike (11)
commentReply (2)
thumb_up11 likes
comment
2 replies
E
Ella Rodriguez 15 minutes ago
Likewise, the Library folder contains your Calendar, Notes, Contacts, Saved Application States,...
A
Alexander Wang 18 minutes ago
Hide the Clutter
Launch Terminal, located at /Applications/Utilities/. Type or copy/paste...
T
Thomas Anderson Member
access_time
44 minutes ago
Thursday, 08 May 2025
Likewise, the Library folder contains your Calendar, Notes, Contacts, Saved Application States, and much more. Go ahead and look around the Library folder, but don't make any changes unless you have a specific problem that you're attempting to fix. Now that you can see all the hidden folders and files in the Finder, you'll probably want to hide them again, if only because they tend to clutter up Finder windows with extraneous items.
thumb_upLike (42)
commentReply (2)
thumb_up42 likes
comment
2 replies
E
Evelyn Zhang 24 minutes ago
Hide the Clutter
Launch Terminal, located at /Applications/Utilities/. Type or copy/paste...
I
Isaac Schmidt 25 minutes ago
The hidden files are once again hidden. No hidden folder or file was harmed in the making of this Ma...
I
Isabella Johnson Member
access_time
36 minutes ago
Thursday, 08 May 2025
Hide the Clutter
Launch Terminal, located at /Applications/Utilities/. Type or copy/paste the commands below into the Terminal window, one at a time, pressing ENTER after each one. defaults write com.apple.finder AppleShowAllFiles FALSE killall Finder Poof!
thumb_upLike (25)
commentReply (3)
thumb_up25 likes
comment
3 replies
S
Sebastian Silva 30 minutes ago
The hidden files are once again hidden. No hidden folder or file was harmed in the making of this Ma...
A
Ava White 24 minutes ago
More About Terminal
If the power of the Terminal app intrigues you, you can find out more...
If the power of the Terminal app intrigues you, you can find out more about what secrets Terminal can uncover in this guide: Use the Terminal Application to Access Hidden Features. Was this page helpful?
thumb_upLike (19)
commentReply (2)
thumb_up19 likes
comment
2 replies
A
Alexander Wang 37 minutes ago
Thanks for letting us know! Get the Latest Tech News Delivered Every Day
Subscribe Tell us why!...
N
Natalie Lopez 4 minutes ago
Other Not enough details Hard to understand Submit More from Lifewire How to Delete a File in Termin...
G
Grace Liu Member
access_time
60 minutes ago
Thursday, 08 May 2025
Thanks for letting us know! Get the Latest Tech News Delivered Every Day
Subscribe Tell us why!
thumb_upLike (30)
commentReply (1)
thumb_up30 likes
comment
1 replies
L
Lily Watson 1 minutes ago
Other Not enough details Hard to understand Submit More from Lifewire How to Delete a File in Termin...
M
Madison Singh Member
access_time
80 minutes ago
Thursday, 08 May 2025
Other Not enough details Hard to understand Submit More from Lifewire How to Delete a File in Terminal on Your Mac How to Make a Bootable Flash Installer of OS X or macOS How to Show or Hide Hidden Files and Folders on Mac How to Reset Your Mac's PRAM or NVRAM (Parameter RAM) Three Ways to Access the Library Folder on Your Mac How to Turn off Mouse Acceleration on Mac What Is a Hidden File & Why Are Some Files Hidden? How to Use Mac Terminal Commands How to Delete Temporary Files in Windows Make a Bootable USB Installer for OS X El Capitan How to Use the Netstat Command on Mac How to Copy iPod Music to Your Mac How to Zip and Unzip Files and Folders on a Mac How to Delete or Split Your Mac's Fusion Drive How to Show or Hide Hidden Files and Folders in Windows Terminal Tips and Tricks to Speed up Your Mac Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Cookies Settings Accept All Cookies
thumb_upLike (33)
commentReply (1)
thumb_up33 likes
comment
1 replies
S
Sebastian Silva 66 minutes ago
View Hidden Files and Folders on Your Mac With Terminal GA
S
REGULAR Menu Lifewire Tech for Humans N...