unlink.1 (688B)
- .\" utils-std: Collection of commonly available Unix tools
- .\" Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
- .\" SPDX-License-Identifier: 0BSD
- .Dd 2022-05-10
- .Dt UNLINK 1
- .Os
- .Sh NAME
- .Nm unlink
- .Nd unlink filenames and possibly the referred files
- .Sh SYNOPSIS
- .Nm
- .Op Ar file...
- .Sh DESCRIPTION
- .Nm
- deletes each
- .Ar file
- link from the filesystem.
- If
- .Ar file
- was the last link and no processes have it open,
- .Ar file
- is deleted.
- .Sh EXIT STATUS
- .Ex -std
- .Sh SEE ALSO
- .Xr ln 1 ,
- .Xr rm 1
- .Sh STANDARDS
- .Nm
- should be compliant with the
- IEEE Std 1003.1-2024 (“POSIX.1”)
- specification.
- .Sh AUTHORS
- .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me