Links Between Files

Hard Link

  • Hard links can only be used with normal files. You cannot use ln to create a hard link to a special directory or file.
  • Hard links can only be used if both files are on the same file system.

Symbolic Link

  • They can link two files on different file systems.
  • They can point to a directory or special file, not just a regular file

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store