Ln Command in Linux: Hard Links vs. Symlinks

Read the full article: ln Command in Linux: Hard Links vs. Symlinks

Hard links and soft links in Linux both use the ln command but behave very differently. This practical guide explains exactly how each works, when to use which, and how to avoid the common pitfalls that catch even experienced sysadmins. continue reading.
5 Likes

Thanks for this! Definitely going on the reading list.

4 Likes

Good article :+1:

My advice is: Never use hardlinks unless you have a detailed explanation for:

  1. why you would need it
  2. why it can’t be done relatively simple in any other way.

The result is that over the years I only used hardlinks once.
It was a very special case indeed :slight_smile:

4 Likes