Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rm(1)

link(2)

unlink(2)



  link(8)                             CLIX                             link(8)



  NAME

    link, unlink - Links/unlinks files and directories

  SYNOPSIS

    /etc/link file1 file2

    /etc/unlink file

  DESCRIPTION

    The link command is used to create a filename that points to another file.
    Linked files and directories can be removed by the unlink command;
    however, it is strongly recommended that the rm(1) and rmdir(1) commands
    be used instead of the unlink command.

    The only difference between ln(1) and link/unlink commands is that the
    latter do exactly what they are told to do, abandoning all error checking.
    This is because they directly invoke the link(2) and unlink(2) functions.

  EXAMPLES

    1.  link file1 file2

    2.  unlink file1

  CAUTIONS

    These commands can be run only by the superuser.

  EXIT VALUES

    The link command exits with a value of 0 if successful and a value of 2 if
    an error occurs.

    The unlink command exits with a value of 0 if successful and a value of 1
    if an error occurs.

  RELATED INFORMATION

    Commands: rm(1)

    Functions: link(2), unlink(2)










  2/94 - Intergraph Corporation                                              1




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026