ADVERTISEMENT

Linux Commands ❯ link

link

Call the link function to create a link named FILE2 to an existing FILE1
syntax:

link FILE1 FILE2
  • link my_file1 my_file1_link1
    create a hard link called my_file1_link1 which refers to my_file1. the inode number will be same for both.