UNLINK(1)
π unlink(1) β the "bestie, this file is GONE" manual page
ok so picture this: you're in the terminal, you want a file to β¨stop existingβ¨, and you don't need a whole dramatic production about it. That's unlink. It's the tiny little cutie of a command that does one (1) thing and does it flawlessly. Not me being obsessed with a single-syscall wrapperβ¦ π it's giving minimalist icon behaviour and honestly? Slay.
πΈ NAME πΈ
unlink β Unlink the file at FILE.
π¦ SYNOPSIS π¦
unlink FILE
unlink OPTION
π DESCRIPTION π
Unlink the file at FILE.
That's it. That's the whole personality. No flags for recursion, no prompts, no small talk β you hand it a FILE, it unlinks that FILE. Lowkey the most honest command in the whole toolbox. π
β¨ OPTIONS β¨
-h,--helpβ prints the help. You know, for when you want the command to explain itself instead of β¨unlinkingβ¨ things.-V,--versionβ prints the version. Receipts! Proof of which build you're running, bestie. π§Ύ
π VERSION π
v(uutils coreutils) 0.12.0
π EXAMPLES π
Remove the specified file if it is the last link:
unlink path/to/file
π«Ά The examples are provided by the tldr-pages project https://tldr.sh under the CC BY 4.0 License. Please note that, as uutils is a work in progress, some examples might fail.
β οΈ bestie, real talk: this deletes things. For real. No undo, no recycle bin, no "wait, what did I just do" moment until after it's done. Vibe check your path before you hit enter. π
manual page for unlink, from the General Commands Manual, dated 2026-09-25 β page UNLINK(1), if you're keeping track π hope that was iconic for you, mwah ππ
π¦ where this page comes from
- ubuntu stonking: rust-coreutils 0.12.0-1ubuntu2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms