Create a link to a file (POSIX)
Syntax:
link existing new
Options:
- existing
- Pathname of an existing file.
- new
- Pathname of the link to be created.
Description:
The link utility creates a hard link, new, that
points to another file, existing.
To create a symbolic link, use
ln.
Note:
QNX Neutrino also supports a toybox version of this utility.
For more information, go to the
toybox entry of this reference.
Exit status:
- 0
- Successful completion.
- > 0
- An error occurred.