How to Hide or Unhide Files in Ubuntu Linux

Share

This post describes steps you can take to hide or show all hidden files in File Manager when using Ubuntu Linux.

File Manager in Ubuntu Linux gives you the ability to hide and unhide files at will. When a file is hidden, it is hidden from the file manager’s normal view, but it is still there in its folder.

You won’t be able to see hidden files just by browsing the folder in File Manager. This is a great way to ensure that important files are kept out of plain sight.

If you want to see all hidden files in a folder, go to that folder and either click the view options button in the toolbar and pick Show hidden items or press the CTRL + H keyboard shortcut.

Below are steps that show you how to hide a file as well as unhide hidden files in File Explorer in Ubuntu Linux.

How to show hidden files in Ubuntu Linux

By default, not all files are displayed in the normal File Manager views. Some files are hidden while others are not.

If you want to see all hidden files in a folder, go to that folder and either click the view options button in the toolbar and pick Show Hidden Files, or press the Ctrl + H keyboard shortcut.

To show hidden files, open File Manager then clicks the view options button in the toolbar.

Then pick Show Hidden Files on the context menu as highlighted below.

You can also use the keyboard shortcut Ctrl + H to show all hidden files.

You will see all hidden files, along with regular files that are not hidden.

How to hide files in Ubuntu Linux

File Manager gives you the ability to hide files as well. When a file is hidden, it is not displayed by the file manager, but it is still there in its folder.

To hide a file, rename the file with a dot ( . ) at the beginning of its name.

For example, to hide a file named example.txt, you should rename it to 

.example.txt

The file will become hidden in the folder in File Manager’s normal view.

That should do it!

Conclusion:

This post showed you how to hide or show all hidden files in Ubuntu Linux. If you find any error above or have something to add, please use the comment form below to report.