UNLINK(1)

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