Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

link

Create a symbolic link to a file

Syntax:

link existing new

Runs on:

Neutrino

Options:

existing
Pathname of an existing file.
new
Pathname of the new symbolic link to be created.

Description:

The link utility creates a symbolic link, new, that points to another file, existing. This utility is a command-line interface to the symlink() function:

(void)symlink( existing, new );

To create a hard link, use ln.

Exit status:

0
Successful completion.
> 0
An error occurred.

See also:

ln, rm, unlink