I'd like to ask some help with a question about "ls" program: could please anyone explain what does the second field of "ls -l" output mean?
Here is an example:
sergey@home-ubuntu:~$ ls -l total 64 drwxr-xr-x 8 sergey sergey 4096 мая 12 11:54 Desktop drwxr-xr-x 5 sergey sergey 4096 апр 28 00:09 Documents drwxr-xr-x 10 sergey sergey 12288 мая 12 23:22 Downloads drwxrwxr-x 3 sergey sergey 4096 апр 12 15:22 Games drwxrwxr-x 7 sergey sergey 4096 апр 2 23:02 MEGAsync drwxr-xr-x 3 sergey sergey 4096 апр 15 21:18 Music drwxr-xr-x 4 sergey sergey 4096 мая 7 09:10 Pictures drwxr-xr-x 2 sergey sergey 4096 апр 2 22:24 Public drwxrwxr-x 4 sergey sergey 4096 апр 9 17:57 Scripts drwxr-xr-x 5 sergey sergey 4096 апр 16 22:42 snap drwxrwxr-x 3 sergey sergey 4096 мая 9 21:20 Soft drwxr-xr-x 2 sergey sergey 4096 апр 2 22:24 Templates drwxrwxr-x 3 sergey sergey 4096 мая 12 23:39 Tests drwxr-xr-x 3 sergey sergey 4096 мая 12 16:11 Videos ^ this field i'm interested in The internet says it shows the number of links to a file, wikipedia specifies to hard links, but i couldn't find any information about directories, yet it's represented in ls -l output.
Since one can't create a hard link to a folder, it's unclear what that field means.