Saturday, March 20, 2010

硬链接的查找

ls -i /path/to/file
显示文件的inode号
find / -inum <file-inode>;
用find命令查找对应inode号的文件。

No comments:

Post a Comment