Linux命令 清空文件

最简单的清空文件的方式

> text.txt

 echo 清空文件

echo -n "" > test.txt

 

原文地址:https://www.cnblogs.com/shangwei/p/13652062.html