To permanently unhide a file (rename it to remove the dot):
mv .myhiddenfile myhiddenfile To recursively unhide all files in a directory (advanced script): how to unhide files
Estimated reading time: 12 minutes
We’ve all been there. You download a project folder, plug in an old USB drive, or help a friend with their laptop, and you notice something is missing. The storage space is occupied, but the files you’re looking for are nowhere to be seen. They haven’t been deleted—they’ve been hidden. To permanently unhide a file (rename it to
Hiding files is a standard operating system feature designed to protect critical system files from accidental modification or deletion. However, malware, overzealous IT policies, or even an accidental click in a file’s properties can hide your personal documents, photos, or project assets. They haven’t been deleted—they’ve been hidden
ls -la (The -a flag stands for "all," which includes dot-files.)