ln(1)

πŸ“¦
version 0.7.0 Β· 3 versions
, in epel 10, fedora 43, fedora 44

πŸ’… NAME πŸ’…

ok so like. ln β€” Make links between files. that's it, that's the vibe. you're linking files. slay. πŸŽ€

this one's from the General Commands Manual, section 1, bestie, so it's a user command, not some deep kernel nonsense. we love that for us.


✨ SYNOPSIS ✨

ln [--backup] [-b ] [-f|--force] [-i|--interactive]
[-n|--no-dereference] [-L|--logical] [-P|--physical] [-s|--symbolic]
[-S|--suffix] [-t|--target-directory] [-T|--no-target-directory]
[-r|--relative] [-v|--verbose] [-h|--help] [-V|--version] <files>

🌸 DESCRIPTION 🌸

Make links between files.

like literally that's the whole thing. you point at a file, you get another name for it. it's giving "two names, one file" energy. iconic behavior fr fr 🫢


πŸ‘‘ OPTIONS πŸ‘‘

ok bestie grab a snack this is the long part but i promise every single flag matters

  • --backup[=<CONTROL>] β€” make a backup of each existing destination file. yes she's protective of your files, we stan a cautious queen πŸ’–
  • -b β€” like --backup but does not accept an argument. same energy, less talk.
  • -f, --force β€” remove existing destination files. no asking, no mercy, just vibes. 😀
  • -i, --interactive β€” prompt whether to remove existing destination files. she'll ask first because she's polite like that ✨
  • -n, --no-dereference β€” treat LINK_NAME as a normal file if it is a symbolic link to a directory
  • -L, --logical β€” follow TARGETs that are symbolic links
  • -P, --physical β€” make hard links directly to symbolic links
  • -s, --symbolic β€” make symbolic links instead of hard links. the soft launch of links, if you will πŸ¦‹
  • -S, --suffix <SUFFIX> β€” override the usual backup suffix
  • -t, --target-directory <DIRECTORY> β€” specify the DIRECTORY in which to create the links
  • -T, --no-target-directory β€” treat LINK_NAME as a normal file always
  • -r, --relative β€” create symbolic links relative to link location
  • -v, --verbose β€” print name of each linked file. she's a yapper and honestly? valid πŸ’…
  • -h, --help β€” Print help
  • -V, --version β€” Print version
  • <files> β€” the files. the whole point. the main characters πŸ‘‘

🌈 EXTRA 🌈

ok so there's like forms and the synopsis does NOT show them which is lowkey rude of it but here's the tea:

In the 1st form, create a link to TARGET with the name LINK_NAME. In the 2nd form, create a link to TARGET in the current directory. In the 3rd and 4th forms, create links to each TARGET in DIRECTORY.

Create hard links by default, symbolic links with --symbolic. By default, each destination (name of new link) should not already exist.

⚠️ heads up bestie: when creating hard links, each TARGET must exist. like actually exist. no ghost targets allowed. πŸ‘»

Symbolic links can hold arbitrary text; if later resolved, a relative link is interpreted in relation to its parent directory.

The backup suffix is '~', unless set with --suffix or SIMPLE_BACKUP_SUFFIX. The version control method may be selected via the --backup option or through the VERSION_CONTROL environment variable. Here are the values:

  • none, off β€” never make backups (even if --backup is given)
  • numbered, t β€” make numbered backups
  • existing, nil β€” numbered if numbered backups exist, simple otherwise
  • simple, never β€” always make simple backups

periodt. those are the options, no cap. πŸ’œ


⭐ VERSION ⭐

v(uutils coreutils) 0.7.0

ok that's the whole page, bestie, you're officially a ln girlie now πŸ§šβ€β™€οΈ

this lil love letter to links comes from the uutils coreutils crew, version 0.7.0 β€” that's the source, that's the version, and the footer it was born with said ln (uutils coreutils) 0.7.0, so shoutout to them for making this whole thing exist πŸ’– go make some links, you got this 🫢

πŸ“¦ where this page comes from
  • epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
  • epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
  • fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • fedora 44: rust-coreutils-devel 0.7.0-4.fc44 Β· MIT
  • fedora 44: uutils-coreutils 0.7.0-4.fc44 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms