Centos 清空文件的3中方式

方式一:

#echo "" > files

 

方式二:

#cat /dev/null > files

 

方式三:

#> files

posted @ 2015-09-08 16:08  傻傻丶乐  阅读(590)  评论(0编辑  收藏  举报