Difference between revisions of "Rm (command)"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 9: | Line 9: | ||
If it was already deleted, on Linux, you can still truncate it by doing: | If it was already deleted, on Linux, you can still truncate it by doing: | ||
echo "" > "/proc/$pid/fd/$fd" | echo "" > "/proc/$pid/fd/$fd" | ||
+ | |||
+ | rm: cannot remove 'XXXX': [[Read-only file system]] | ||
Revision as of 05:35, 23 July 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: