Difference between revisions of "Rm (command)"

From wikieduonline
Jump to navigation Jump to search
Line 22: Line 22:
 
* <code>[[mtime]]</code>
 
* <code>[[mtime]]</code>
 
* <code>[[scrub]]</code>
 
* <code>[[scrub]]</code>
 +
* <code>[[touch]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 13:44, 11 August 2020

This article is a Draft. Help us to complete it.


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: