Link Commands

  1. soft link
  2. hard link

Soft(Symbolic) Link: (file and directory f1 f2 f3 f4 remove f3 not working f4)

ln -s target_file source_file
ln -s dir1 dir2

Hard Link: (file only f1 f2 f3 f4 remove f3 working f4)

ln file_1 file_2
ls -li     //find the hard link

Comments