vignesh shiva:
Hello Team,
Please someone assist what is meaning of below highlighted value?
Llauca Xavier:
Number of hard links to file
vignesh shiva:
@Llauca Xavier Thanks. How to validate Hard link?
vignesh shiva:
May I know soft link also highlight same?
Llauca Xavier:
to check the hard links you can validate with “stat” or with “ls -lT”.
Llauca Xavier:
to search for soft links use this “find path -type l”
Bruno Domingues:
If you type ls -li
you can compare the inode number of the 2 files. If the inode number is the same it’s a hard link. With a soft link it will have a different inode but you can see where it is pointing on the output of the command.