ln

Updated: September 28, 2024

Links come in several forms. Target must exist when the link is made.


USE CASES

ln "~/megadot/mac/.zshrc ~                      # hard link
ln -sv “~/.dotfiles/runcom/.bash_profile” ~     # soft link (symlink)
    -s      # create a symbolic link
    -v      # show files as they are created (verbose)
    -f      # If the target file already exists, then unlink it so that the link may occur.
    -r      # relative symbolic link

Bind Mount