This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Create a hard link to a file
link existing new
The link utility creates a hard link, new, that points to another file, existing. This utility is a command-line interface to the link() function:
(void)link( existing, new );
To create a symbolic link, use ln.
The link command can be very dangerous to your filesystem; you should probably use ln instead.