logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git

unlink.1 (691B)


  1. .\" utils-std: Collection of commonly available Unix tools
  2. .\" Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. .\" SPDX-License-Identifier: MPL-2.0
  4. .Dd 2022-05-10
  5. .Dt UNLINK 1
  6. .Os
  7. .Sh NAME
  8. .Nm unlink
  9. .Nd unlink filenames and possibly the referred files
  10. .Sh SYNOPSIS
  11. .Nm
  12. .Op Ar file...
  13. .Sh DESCRIPTION
  14. .Nm
  15. deletes each
  16. .Ar file
  17. link from the filesystem.
  18. If
  19. .Ar file
  20. was the last link and no processes have it open,
  21. .Ar file
  22. is deleted.
  23. .Sh EXIT STATUS
  24. .Ex -std
  25. .Sh SEE ALSO
  26. .Xr ln 1 ,
  27. .Xr rm 1
  28. .Sh STANDARDS
  29. .Nm
  30. should be compliant with the
  31. IEEE Std 1003.1-2024 (“POSIX.1”)
  32. specification.
  33. .Sh AUTHORS
  34. .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me