LN(1)
π
LN(1) β General Commands Manual, but make it group chat π
okay bestie, welcome to the ln(1) page from the General Commands Manual. This is the file-linking manual, and it is genuinely giving filesystem matchmaker energy π.
πΈ NAME πΈ
ln β make links between files. That's the whole name section. Short, iconic, periodt β¨.
π¦ SYNOPSIS π¦
ln [OPTION]... [-T] TARGET LINK_NAME
ln [OPTION]... TARGET
ln [OPTION]... TARGET... DIRECTORY
ln [OPTION]... -t DIRECTORY TARGET...
π DESCRIPTION π
Make links between files. Literally that. It's the main-character job of ln, and I'm obsessed π«Ά.
β¨ OPTIONS β¨
Okay bestie, here is the full options buffet β no skipping, no cap:
--backup[=<CONTROL>]β make a backup of each existing destination file πΎ-bβ like--backupbut does not accept an argument-f,--forceβ remove existing destination files-i,--interactiveβ prompt whether to remove existing destination files-n,--no-dereferenceβ treatLINK_NAMEas a normal file if it is a symbolic link to a directory-L,--logicalβ followTARGETs that are symbolic links-P,--physicalβ make hard links directly to symbolic links-s,--symbolicβ make symbolic links instead of hard links-S,--suffix <SUFFIX>β override the usual backup suffix-t,--target-directory <DIRECTORY>β specify theDIRECTORYin which to create the links-T,--no-target-directoryβ treatLINK_NAMEas a normal file always-r,--relativeβ create symbolic links relative to link location-v,--verboseβ print name of each linked file-h,--helpβ Print help-V,--versionβ Print version<files>β the<files>placeholder, kept exactly as it appears in the options list π«Ά
π₯ EXTRA π₯
Okay, form-by-form, because the synopsis has four whole moods:
- In the 1st form, create a link to
TARGETwith the nameLINK_NAME. - In the 2nd form, create a link to
TARGETin the current directory. - In the 3rd and 4th forms, create links to each
TARGETinDIRECTORY.
Create hard links by default, symbolic links with --symbolic. By default, each destination (name of new link) should not already exist. When creating hard links, each TARGET must exist. Symbolic links can hold arbitrary text; if later resolved, a relative link is interpreted in relation to its parent directory. That last part is the lore, bestie π.
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--backupis given)numbered,tβ make numbered backupsexisting,nilβ numbered if numbered backups exist, simple otherwisesimple,neverβ always make simple backups
π VERSION π
v(uutils coreutils) 0.12.0 is the version on this page. Slay π
.
xoxo, your ln(1) bestie β source/version: v(uutils coreutils) 0.12.0, dated 2026-09-17 ππ«Άβ¨
π¦ where this page comes from
- arch rolling: uutils-coreutils 0.12.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms