Skip to Content
Solaris™ 8 System Administrator's Reference
book

Solaris™ 8 System Administrator's Reference

by Janice Winsor
September 2000
Beginner content levelBeginner
1312 pages
33h 47m
English
Pearson
Content preview from Solaris™ 8 System Administrator's Reference

link, unlink — Link and Unlink Files and Directories

Synopsis

/usr/xpg4/bin/link existing-file
						new-file
/usr/sbin/link existing-file
						new-file
/usr/sbin/unlink file
					

Description

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential System Administration Pocket Reference

Essential System Administration Pocket Reference

Æleen Frisch

Publisher Resources

ISBN: 0130277010Purchase book