unlink Command

unlink File

Attention: The unlink command allows a user with root user authority to deal with unusual problems, such as moving an entire directory to a different part of the directory tree. It also permits you to create directories that cannot be reached or escaped from. Be careful to preserve the directory structure by observing the following rules:

  • Be certain every directory has a . (dot) link to itself.
  • Be certain every directory has a .. (dot dot) link to its parent directory.
  • Be certain every directory has no more than one link to itself or its parent directory.
  • Be certain every directory is accessible from the root of its file system.

An attempt to remove a file or directory that has been exported for use by the NFS version 4 server will fail with a message saying that the resource is busy. The file or directory must be unexported for NFS version 4 use before it can be removed.

Item Description
/usr/sbin/unlink Contains the unlink command.