file inode comparison

The test command can also do a few basic comparisons between files. The -ef comparison tests if
two files are actually hard links to the same inode on the same filesystem. This saves quite a bit of
trouble, because although stat --format=%i or ls -i can provide the inode number of a file, you
would still have to check that the two files are on the same filesystem.

Comments

Popular posts from this blog

HAproxy logging

teamcity Automatic Agent Start under Linux

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all