tldr/pages/common/unlink.md

275 B

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/unlink.

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

unlink {{path/to/file}}