---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# unlink

> Remove a link to a file from the filesystem.
> The file contents is lost if the link is the last one to the file.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/unlink-invocation.html>.

- Remove the specified file if it is the last link:

`unlink {{path/to/file}}`
