Remove a single file.

Synopsis

unlink FILE

Description

Removes FILE. Symbolic links are removed without following their target.

Examples

$ unlink stale-symlink

Remove a symlink without following it.

Notes

Unlike rm, unlink takes exactly one FILE argument and never recurses into directories.

See Also

rm, ln