Empty or Delete a log files in Linux or UNIX

Originally published at: https://www.cyberciti.biz/faq/remove-log-files-in-linux-unix-bsd/

My web server’s log file size is quite huge or large. How do I delete a log file in Linux without disturbing running application? Is there a proper way to clear log files on Unix?

1 Like

Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki