Jul 172012
Create hard link in Linux
Answer:
To create a hard link in Linux, use the ln command, e.g.
# echo "test" > test.txt
# ln test.txt hard_link.txt
To show they are pointing to the same thing, we can check the inode, e.g.
# ls -i
8232976 hard_link.txt 8232976 test.txt