fai-link(1)

πŸ“¦
version 6.6ubuntu1 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

okay bestie, so this is a page from the General Commands Manual and it's literally called fai-link. let's get into it πŸ’…


🌸 NAME 🌸

fai-link β€” create symlink idempotent πŸͺ„

(and yes "idempotent" is a big word but it's giving "do the thing, and if the thing is already done, don't do the thing again" β€” iconic behavior honestly)


πŸ¦‹ SYNOPSIS πŸ¦‹

fai-link SOURCE TARGET

πŸ’– DESCRIPTION πŸ’–

So here's the vibe: fai-link checks if a symlink from SOURCE to TARGET already exists, and if it's already the same symlink, it does absolutely nothing. no drama, no re-linking, no chaos. it just ✨ respects the status quo ✨.

  • If $target is defined, use it as a prefix for SOURCE. πŸŽ€
  • If $verbose is set, the command prints if no change is to be made. πŸ‘€
🚨 real talk bestie: the order of the arguments is different to the ln(1) command. do NOT come in here with your ln(1) muscle memory, it will not eat. 😭

🌈 SEE ALSO 🌈

This program is part of FAI (Fully Automatic Installation). See the FAI manual for more information on how to use fai-monitor. The FAI homepage is https://fai-project.org 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Thomas Lange <lange@cs.uni-koeln.de> πŸ’œ


and that's the whole page, no cap πŸ’€ this one's from FAI 5, dated 2019 β€” tysm for reading bestie, now go make some symlinks (idempotently, obviously) πŸ¦‹βœ¨πŸŽ€