What Does `unlink` Actually Do?

Although I now forget the context, a friend once sent me a snippet of shell code that he was using to remove symbolic links to files on his computer, using a shell command that I had never seen before: unlink . I, like him (and presumably like you if this is your first exposure to the command), assumed that this command is used to remove links to files on a UNIX-like system. This is quite an…