In Linux, a file or folder is considered hidden if its name starts with a dot (.). Typically, file managers like GNOME Files or Dolphin, as well as command-line tools like ls, won't display hidden items by default.
To hide a file or folder, simply add a . before its name. To unhide it, remove the leading dot. This method is different from Windows, where visibility is determined by file/folder attributes rather than the name itself.
You can hide and unhide files or folders using graphical file managers or the mv command in the terminal.
$ ls temp/ file folder
$ mv temp/file temp/.file
$ ls temp/ folder
$ mv temp/.file temp/file
$ ls temp/ file folder
Comment anonymously. Login not required.