---
name: "lfc-ln"
section: "1"
platform: "linux"
package: "lfc"
version: "1.10.0-2+b3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/lfc-ln"
---

# lfc-ln(1)

make a symbolic link to a file or a directory in the LFC Name Server

## NAME

lfc-ln - make a symbolic link to a file or a directory in the LFC Name Server

## SYNOPSIS

**lfc-ln -s** *target* \[ *linkname* \]

**lfc-ln -s** *target...* *directory*

## DESCRIPTION

**lfc-ln** makes a symbolic link to a file or a directory in the LFC Name Server.

This requires write permission in *linkname* parent directory.

If *linkname* does not start with **/**, it is prefixed by the content of the **LFC\_HOME** environment variable. If *linkname* is not specified, the link is created in the current directory with the same basename as the target. In the second form, it creates in *directory* a link for each target.

## EXIT STATUS

This program returns 0 if the operation was successful or \>0 if the operation failed.

## SEE ALSO

**[Castor\_limits(4)](/Castor_limits/4.md)**, **[lfc\_symlink(3)](/lfc_symlink/3.md)**

## AUTHOR

**LCG Grid Deployment** Team
