In Ubuntu and Unix-based operating systems, configuration files, application data directories, and temporary system caches are hidden by default to keep your home directory tidy. Any file or folder whose name begins with a period or dot (such as .bashrc, .config, or .local) is automatically classified as a hidden “dotfile”.
When you need to adjust personal application configurations, inspect browser caches, or locate saved game data, you must reveal these hidden items. While Linux power users often use terminal commands like ls -a, Ubuntu provides quick graphical controls directly inside the desktop file manager. Here is how to show and hide hidden files in the Ubuntu GUI.
Method 1: The Quick Keyboard Shortcut (Ctrl + H)
By far the fastest way to reveal hidden files in Ubuntu is using the universal desktop shortcut:
- Open the Files application (Nautilus) from the dock or application menu.
- Navigate to any folder, such as your Home folder.
- Press the keyboard shortcut Ctrl + H.
- All hidden dotfiles and directories (such as
.config,.cache, and.profile) will instantly appear alongside your standard folders.
To hide the dotfiles again and restore your clean folder view, simply press Ctrl + H a second time. This shortcut functions across nearly all standard GNOME applications, including Open and Save file dialogues.
Method 2: Reveal Hidden Files via the Files Application Menu
If you prefer using your mouse, you can toggle hidden files via the application’s visual settings menu:
- Launch the Files app and open any directory.
- Look at the top-right corner of the file manager window and click the three vertical lines or dots menu (View Options).
- In the drop-down menu that opens, locate the option labelled Show Hidden Files.
- Click the checkbox or toggle switch next to Show Hidden Files to turn it on.
Your folder view will immediately refresh, displaying all hidden items with their initial dot prefix.
How to Create Your Own Hidden File or Folder
Now that you know how Ubuntu handles hidden files, you can easily hide any personal folder or document from casual view using the exact same rule:
- Right-click on any folder or document and select Rename.
- Add a single period (
.) directly at the very beginning of the name (e.g., changePrivateNotesto.PrivateNotes). - Press Enter to confirm.
As soon as you toggle off Show Hidden Files (or press Ctrl + H), your newly renamed folder will vanish from view, accessible only when hidden files are toggled back on.