link, unlink - execute link() and unlink() system calls without error
/usr/sbin/link file1 file2
The link and unlink commands perform their respective system calls
(link() or unlink()) on their arguments, abandoning most error
These commands can be executed only by users who have appropriate
LC_MESSAGES determines the language in which messages are displayed.
If LC_MESSAGES is not specified in the environment or is set to the
empty string, the value of LANG is used as a default for each
unspecified or empty variable. If LANG is not specified or is set to
the empty string, a default of "C" (see lang(5)) is used instead of
If any internationalization variable contains an invalid setting, link
behaves as if all internationalization variables are set to "C". See
International Code Set Support
Single- and multi-byte character code sets are supported.
link and unlink return the following values:
0 Operation successful.
1 Input syntax error.
2 The link() or unlink() call failed.
If a directory that contains files other than . and .. is unlinked,
the files become orphans, unless they are also linked by some other
Not all file systems permit linking to directories.
ln(1), rm(1), link(2), unlink(2).
Hewlett-Packard Company - 1 - HP-UX Release 11i: November 2000
link: SVID2, SVID3
unlink: SVID2, SVID3
Hewlett-Packard Company - 2 - HP-UX Release 11i: November 2000