How to delete a large file by linux
This article mainly introduces linux how to delete a large file, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Delete a large file
I have a large 200GB log file on the production server that needs to be deleted. My rm and ls commands have crashed, and I'm afraid this is due to the huge disk IO. To delete this large file, type:
> / path/to/file.log # or use the following format: > / path/to/file.log # and then delete it rm / path/to/file.log Thank you for reading this article carefully. I hope the article "how to delete a large file in linux" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!