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

tomcat catalina coyote jasper cluster

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