How to Hide or Unhide Files in Ubuntu Linux

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 file manager 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 Ctrl + H keyboard shortcut.

To show hidden file, open File Manager then click the view options button in the toolbar.

ubuntu linux folder view option jpg

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.

ubuntu linux show hidden fles box jpg

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

all hidden file shown in ubuntu linux jpg

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 with the folder in File Manager 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.

Leave a Comment

Your email address will not be published.