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

linux清空一个文件
1,echo "" >test.txt
2,>test.txt
3,cat /dev/null >test.txt