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

linux 清空文件
清空文件的三种方法

1,echo “” >test.txt
2,>test.txt
3,cat /dev/null >test.txt