unlink man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

LINK(1M)							      LINK(1M)

NAME
       link, unlink - link and unlink files and directories

SYNOPSIS
       /usr/sbin/link  existing-file new-file

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

       /usr/sbin/unlink file

DESCRIPTION
       The  link  and  unlink  commands link and unlink files and directories.
       Only super-users can use these commands on directories.

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

       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 differs from the  ln(1) command. See ln(1).

       While linked files and directories can be removed using unlink,	it  is
       safer to use rm(1) and rmdir(1) instead. See  rm(1) and rmdir(1).

   /usr/xpg4/bin/link
       If  the existing file being hard linked is itself a symbolic link, then
       the newly created file (new-file) will be a hard link to the file  ref‐
       erenced	by  the	 symbolic link, not to the symbolic link object itself
       (existing-file).

OPERANDS
       The following operands are supported:

       existing-file
			Specifies the name of the existing file to be linked.

       file
			Specifies the name of the file to be unlinked.

       new-file
			Specifies the name of newly created (linked) file.

ENVIRONMENT VARIABLES
       See  environ(5) for descriptions of the following environment variables
       that  affect  the  execution  of	 link: LANG, LC_ALL, LC_CTYPE, LC_MES‐
       SAGES, and NLSPATH.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

   /usr/xpg4/bin/link
       ┌────────────────────┬─────────────────┐
       │  ATTRIBUTE TYPE    │ ATTRIBUTE VALUE │
       ├────────────────────┼─────────────────┤
       │Interface Stability │ Standard	      │
       └────────────────────┴─────────────────┘

SEE ALSO
       ln(1), rm(1),  link(2),	unlink(2),  attributes(5),  environ(5),	 stan‐
       dards(5)

				  Oct 9, 2002			      LINK(1M)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net