tldr/pages/common/unlink.md

10 lines
308 B
Markdown

# 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}}`