Linux and other Unix-based operating systems consider files and folders with names beginning with a . (dot) as hidden. Unless specified or configured, file managers like Nautilus and Dolphin, or command-line tools such as ls will not show files and folders with names beginning with a ..
You can use ls at the terminal to show hidden files and folders. It is done by using the built-in option to ignore entries starting with a ..
$ cd temp/
$ ls file folder
$ ls -a . .. file folder .hidden-file .hidden-folder
ls option:
-a, --all do not ignore entries starting with .
$ ls -la total 16 drwxrwxr-x 4 user user 4096 Oct 31 09:27 . drwxr-xr-x 5 user user 4096 Oct 31 09:26 .. -rw-rw-r-- 1 user user 0 Oct 31 09:27 file drwxrwxr-x 2 user user 4096 Oct 31 09:26 folder -rw-rw-r-- 1 user user 0 Oct 31 09:27 .hidden-file drwxrwxr-x 2 user user 4096 Oct 31 09:26 .hidden-folder
. and .. are special folders which refers to current and one-up folder respectively
$ ls -la /home/user/temp/ total 16 drwxrwxr-x 4 user user 4096 Oct 31 09:27 . drwxr-xr-x 5 user user 4096 Oct 31 09:26 .. -rw-rw-r-- 1 user user 0 Oct 31 09:27 file drwxrwxr-x 2 user user 4096 Oct 31 09:26 folder -rw-rw-r-- 1 user user 0 Oct 31 09:27 .hidden-file drwxrwxr-x 2 user user 4096 Oct 31 09:26 .hidden-folder
Comment anonymously. Login not required.