Skip to content
Portfolio

Linux Links

To create a hard link:

Terminal window
ln host hard

ln -i Shows the inode number

  • Hard links are not allowed to refer to directories

To create a symbolic link:

Terminal window
ln -s hard soft
  • To create symbolic links the best practice is to use the absolute path name, to be able to move it.