September 2000
Beginner
1312 pages
33h 47m
English
/usr/xpg4/bin/link existing-file new-file /usr/sbin/link existing-file new-file /usr/sbin/unlink file
Use the link and unlink commands to link and unlink files and directories. Only superuser can use these commands.
Use link to create a new file that points to an existing file. The existing-file and new-file operands specify the existing file and newly-created files.
link and unlink directly invoke the link(2) and unlink(2) system calls, performing exactly what they are told to do and abandoning all error checking. This behavior differs from the ln(1) command. See ln(1).
Although you can remove linked files and directories by using unlink, it is safer to use rm(1) and ...