How to Truncate (Empty) Files in Linux
Truncating a file is much faster and easier than deleting the file, recreating it, and setting the correct permissions and ownership. Also, if the file is opened by a process, removing the file may cause the program that uses it to malfunction. |
|
This topic does not have any threads posted yet!
You cannot post until you login.