Eays way to clear a log file?
Hallo
Does anyone know of a easy way to clear a log file without deleting it? |
Doesn't a search on google suggest a possible solution? First result I found:
Code:
> /path/to/log |
Logrotate is also a very viable solution that I'd venture to guess is probably more of what you want than to clear the file (assuming you are keeping decent tabs on your system ;) )
Cool |
All times are GMT -5. The time now is 04:36 PM. |