As in Windows, Linux has hidden files, but they work a little differently in this system. As such, there is no stealth attribute. It has been agreed between developers to use files with a dot in front of their name, which indicates that they are hidden. The hidden ones usually include cache, configuration files, temporary application data. After reading this tutorial, you will know how to show hidden files on a Linux system and in the Dolphin and Nautilus file managers, as well as in the terminal.
To show hidden files in KDE, all you need to do is check the checkbox in the control menu:
After that they will be displayed and will look lighter than usual:
An even easier way is to press the Alt + dot key combination. To return them to their original state, press Alt + dot again or check the hidden files checkbox in the control menu.
In the case of Nautilus, no difficulties should arise, as you need to do pretty much the same thing.
Open the "View" menu and check the "Show hidden files" box:
They look like all the others here, only with a dot in the name:
If it is more convenient to use hotkeys, press Ctrl+H
.
To view them in the terminal, you need to use a utility called ls
. You need to pass an option to view the corresponding files, for example:
$ ls -a ~/
This is for the current user's home folder. Add the -l
option for easier viewing of hidden files:
$ ls -la ~/
As you can see, nothing complicated. Now you know exactly how to enable viewing hidden files and folders in Linux. It's even easier than in Windows, as you don't have to go into the settings and all the work is done from the file manager. It's also useful that the file manager remembers which setting is selected between reboots, so you don't have to change the settings every time.