Hard links
Create a hard link will add additional entries reference files
Corresponding to a physical file on the same file system
Each directory reference the same inode number
When you create a link count is incremented
When you delete a file:
rm command count down link
To file exists, there is at least a number of links
When the link is zero, the file is deleted
Not span drive or partition
grammar:
In filename [linkname]
Symbol (or soft) link
A symbolic link to another file
Display name and referenced linked files ls -l
The contents of a symbolic link is the name of the file it references
Contents can be
Across partitions
Points to another file path; length of the path to the size of a character string; without increasing or decreasing the reference count of the object file inode
grammar:
ln -s filename [linkname]