Linux log log content is too large, clear log content, do not delete file command
There are three ways:
> cont.log # file character size is 0
Cat / dev/null > cont.log # file character size is 0
There are three ways:
> cont.log # file character size is 0
Cat / dev/null > cont.log # file character size is 0