Count The Links
$ echo hello > a
$ ln a b
$ ln -s a c
$ ln b d
$ rm a
$ stat -c '%h' d
$ cat c
%h prints the hard link count. What do the last two commands produce?
Sign in to answer questions and track your progress
Sign In$ echo hello > a
$ ln a b
$ ln -s a c
$ ln b d
$ rm a
$ stat -c '%h' d
$ cat c
%h prints the hard link count. What do the last two commands produce?
Sign in to answer questions and track your progress
Sign In