Hacker News new | ask | show | jobs
by f30e3dfed1c9 139 days ago
I just remember that it's "ln -s <real> <fake>."

I guess you could also remember it as "ln -s <thing that already exists> <thing that you will create>."

2 comments

"fake" or "thing you will create" is not an accurate description when you consider that it can be a directory (thus creating a new link within that directory that exists) or even omitted to use the current directory.
The point, decades ago when I first started with unix, was a short, memorable way to remember the order of the arguments, not to memorize the man page. For that, "ln -s <real> <fake>" works fine.
Yeah, my writeup is I guess what you get when you first remember it _wrong_ and then need to overcorrect.