日期:2014-05-16  浏览次数:20628 次

linux 清除文件内容命令(转)

1.echo "" > file

2.echo > file

3.cp /dev/null file

4.cat /dev/null >file