方法一:用vi 打开,删了,保存,退出.
方法二:
#cat /dev/null > filename
Linux如何清空文件中的内容
猜你喜欢
转载自yang8787jie-126-com.iteye.com/blog/831134
今日推荐
周排行