Symlinks are Bad

So you’re about to run ln -s fi­le­Name link­Name are you? Wait!

Ask your­self these three ques­tions:

  1. Is the file in fact a dir­ect­ory?
  2. Is the file on a dif­ferent par­ti­tion to the link?
  3. Is there a need to de­termine the ori­ginal fi­le­name from the link?

If you answered “no” to all three of these ques­tions, make a hard­link in­stead!

Date
Tags
tech
Target Audience
Not you.
Epistemic Status
Totally unsubstantiated opinions.