Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
home_server:home_server_setup:other_services:symlinks [2024-12-01 Sun wk48 16:49] – [References] baumkphome_server:home_server_setup:other_services:symlinks [2025-01-10 Fri wk02 11:55] (current) – [References] baumkp
Line 36: Line 36:
 ====Link Tools==== ====Link Tools====
   *Use the ''stat'' command on a file/directory/symlink/device/pipe to get the statistics of the file.  Remember in link all these are stored as files.   *Use the ''stat'' command on a file/directory/symlink/device/pipe to get the statistics of the file.  Remember in link all these are stored as files.
-  *''find /   -xdev \! -type d -links +1  -printf '%20D %20i %p\n' | sort -n | uniq -w 42 --all-repeated=separate''+  *''find dir  -xdev \! -type d -links +1  -printf '%20D %20i %p\n' | sort -n | uniq -w 42 --all-repeated=separate''  will find and list files that have common inode numbers in the nominated ''dir''
  
 ---- ----
Line 49: Line 49:
   *[[https://www.theunixschool.com/|The Unix School]]   *[[https://www.theunixschool.com/|The Unix School]]
     *[[https://www.theunixschool.com/2011/06/inode-all-about-inodes.html| Inode - All about inodes]]     *[[https://www.theunixschool.com/2011/06/inode-all-about-inodes.html| Inode - All about inodes]]
-    *[[https://www.theunixschool.com/2012/03/soft-links-hard-links-all-about-inodes.html||Soft Links & Hard Links - All about Inodes - Part 2]]+    *[[https://www.theunixschool.com/2012/03/soft-links-hard-links-all-about-inodes.html|Soft Links & Hard Links - All about Inodes - Part 2]]
     *[[https://www.theunixschool.com/2012/08/move-files-and-directories-inodes-part-3.html|Move files and directories : Inodes Part 3]]     *[[https://www.theunixschool.com/2012/08/move-files-and-directories-inodes-part-3.html|Move files and directories : Inodes Part 3]]