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

# dpns-ln(1)

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

## NAME

dpns-ln - make a symbolic link to a file or a directory in the DPNS Name Server

## SYNOPSIS

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

**dpns-ln -s** *target...* *directory*

## DESCRIPTION

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

This requires write permission in *linkname* parent directory.

If *linkname* does not start with **/**, it is prefixed by the content of the **DPNS\_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)**, **[dpns\_symlink(3)](/dpns_symlink/3.md)**

## AUTHOR

**LCG Grid Deployment** Team
