Linux considers a file or folder hidden if the name starts with a dot (.). By default, file managers such as GNOME Files or Dolphin will not show hidden files and folders. It is also the case when using command-line tools such as ls.
You can rename a file or folder and prepend a . to its name to hide, and remove the leading . to unhide. It is different from Windows as files and folders are visible or hidden based on file/folder attributes rather than the name.
You can rename a file or folder to hide and unhide them using graphical files managers or by using mv command at 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.