Kilho.net
IT

Linux Log Clearing and Finding Files by Size

Here’s how to empty logs that have grown large.

cat /dev/null > 로그파일명

For reference, here’s how to find files by size.

find ./* -size +파일크기

Lämna ett svar

Din e-postadress kommer inte publiceras. Obligatoriska fält är märkta *