So, what should be done
on this answer?
Originally it didn't contain an explanation and was dangerous because it gave the impression that
unlink
is specifically for symlinks. (People delete their regular files all the time assuming they'll just get a harmless error message if they use the
unlink
command on them.) Then it was edited by someone else and is no longer dangerous, but the explanation they added is totally wrong:
unlink
isn't an alias of
rm
.