link(1M)
NAME
link, unlink − exercise link and unlink system calls
SYNOPSIS
/etc/link file1 file2
/etc/unlink file
DESCRIPTION
link and unlink perform their respective system calls on their arguments, abandoning most error checking. These commands can be executed only by users who have appropriate privileges.
EXTERNAL INFLUENCES
International Code Set Support
Single- and multi-byte character code sets are supported.
RETURN VALUE
link and unlink return the following values:
0 Operation successful.
1 Input syntax error.
2 link or unlink call failed.
WARNINGS
If a directory that is not empty (contains files other than . and ..), is unlinked, the files become orphans unless they are linked by some other directory.
SEE ALSO
STANDARDS CONFORMANCE
link: SVID2
unlink: SVID2
Hewlett-Packard Company — HP-UX Release 9.0: August 1992