Files
cheatsheet-tldr/tldr/unlink
2025-01-19 00:18:40 +00:00

15 lines
401 B
Plaintext

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