How Do I Create a Hidden Folder in Ubuntu?
Contents

Use the mkdir command to create a new folder. To make that folder hidden, add a dot (.) at the beginning of the name, just like you would when renaming an existing folder to hide it. The touch command creates a new blank file in the current folder.

How do I create a hidden file in Ubuntu?

Filename ends with a tilde ( ~ ) is considered backup file which is also hidden. You can press Ctrl+H on keyboard to show or hide hidden files / folders in file browser. To hide files and/or folders, without renaming them by prefixing dots (.) or suffixing tildes (~), you can use an extension called nautilus-hide .

How do I hide a folder in Ubuntu?

Click on the file, press the F2 key and add a period at the beginning of the name. To view hidden files and directories in Nautilus (Ubuntu’s default file explorer), press Ctrl + H . The same keys will also re-hide revealed files. To make a file or folder hidden, rename it to begin with a dot, for example, .

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest