linux 清除文件内容命令(转) foolraty · 2011-04-25 09:22 · 操作系统 · Markdown 1.echo "" > file 2.echo > file 3.cp /dev/null file 4.cat /dev/null >file