UNLINK(1) General Commands Manual UNLINK(1)

unlinkunlink filenames and possibly the referred files

unlink [file...]

unlink deletes each file link from the filesystem. If file was the last link and no processes have it open, file is deleted.

The unlink utility exits 0 on success, and >0 if an error occurs.

ln(1), rm(1)

unlink should be compliant with the IEEE Std 1003.1-2024 (“POSIX.1”) specification.

Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>

2022-05-10 Linux 6.6.67-gentoo-x86_64