In Unix-like operating systems, unlink is a system call and a command line utility to delete files. The program directly interfaces the system call, which removes the file name and (but not on GNU systems) directories like rm and rmdir. If the file name was the last hard link to the file, the file itself is deleted as soon as no program has it open.
It also appears in the PHP and Perl programming languages in the form of the unlink() built-in function. Like the Unix utility, it is also used to delete files.[1][2]
Common use:
$ unlink <filename> ... unlink($filename); (PHP)
References
See also
|
||||||||||||||||||||||||||
| This computer software article is a stub. You can help Wikipedia by expanding it. |
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)




