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 +파일크기

ใส่ความเห็น

อีเมลของคุณจะไม่แสดงให้คนอื่นเห็น ช่องข้อมูลจำเป็นถูกทำเครื่องหมาย *