Rm (command)

From wikieduonline
Revision as of 11:17, 27 August 2020 by Welcome (talk | contribs)
Jump to navigation Jump to search
This article is a Draft. Help us to complete it.

wikipedia:rm (Unix) is used to remove different type objects such as computer files, directories and symbolic links from file systems and also special files such as device nodes, pipes and sockets.


rm -rf
echo "" > /path/to/the/file.log
If it was already deleted, on Linux, you can still truncate it by doing:
echo "" > "/proc/$pid/fd/$fd"
rm: cannot remove 'XXXX': Read-only file system


Related terms

See also

Advertising: