foolraty 发表于 2013-2-4 14:43:32

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

1.echo "" > file

2.echo > file

3.cp /dev/null file

4.cat /dev/null >file
页: [1]
查看完整版本: linux 清除文件内容命令(转)