*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: link | Section: 1 | Source: Digital UNIX | File: link.1.gz
link(1) General Commands Manual link(1) NAME link, unlink - Creates an additional directory entry for an existing file SYNOPSIS link file1 file2 unlink file DESCRIPTION The link command performs the link() system call to create an addi- tional directory entry for an existing file, file1. In effect, the un- derlying file then has two names, file1 and file2 (either of these ar- guments can be a pathname). The old and new entries share equal access rights to the underlying file. The unlink command performs the unlink() system call to remove a link to file created by link. The unlink command removes the directory entry specified by the file parameter and, if the entry is a hard link, decrements the link count of the file referenced by the link. You should be familiar with the link() and unlink() system calls before you use these commands. The link and unlink commands do not issue error messages when the asso- ciated system call is unsuccessful. NOTES The link and unlink commands cannot be used to link and unlink directo- ries. EXIT STATUS The exit values of the link command are: The link() system call has succeeded. Too few or too many arguments have been specified. The system call has failed. The unlink command always returns 0 (Zero). SEE ALSO Commands: fsck(8), ln(1) Functions: link(2), unlink(2) link(1)

Navigation Options