NAME [Toc] [Back]
link, unlink - execute link() and unlink() system calls without error
SYNOPSIS [Toc] [Back]
/usr/sbin/link file1 file2
DESCRIPTION [Toc] [Back]
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
EXTERNAL INFLUENCES [Toc] [Back]
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 [Toc] [Back]
Single- and multi-byte character code sets are supported.
RETURN VALUE [Toc] [Back]
link and unlink return the following values:
0 Operation successful.
1 Input syntax error.
2 The link() or unlink() call failed.
WARNINGS [Toc] [Back]
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.
SEE ALSO [Toc] [Back]
ln(1), rm(1), link(2), unlink(2).
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003
STANDARDS CONFORMANCE [Toc] [Back]
link: SVID2, SVID3
unlink: SVID2, SVID3
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003 [ Back ]