Under ubuntu root of the lack of space, syslog take up much space, how to clean?

I am so excited almost deleted, the following is a way of cleaning up

cat /dev/null > /var/log/syslog

Guess you like

Origin www.cnblogs.com/yongjieShi/p/11913970.html
Recommended