Link command: LN
link
============= Gorgeous split-line =============
LN also has soft links and hard links
Hard-Link features (hard links are not recommended) 1. Have the same I node and storage block block, can be regarded as the same file 2. Can be identified by the I node 3. Cannot break the partition 4. Cannot be used for directory
Features of a soft connection 1. Similar to Windows Shortcut 2. The soft connection has its own I node and block blocks, but the data block only saves the source file name and I node number, and there is no actual file data 3.lrwxrwxrwx L Soft Connection (soft connection file permissions are rwxrwxrwx) 4. Modify any file, and the other changes 5. Delete the original file, soft link is not available//create soft link (source file must write absolute path) ln-s/abc/a/tmp/a.link
"Linux Learning note three" link command