linux几种快速清空文件内容的方法
来源:互联网 发布:千里眼被淘宝屏蔽 编辑:程序博客网 时间:2024/04/29 17:38
http://www.ylmf.net/linux/qa/2011011020741.html
linux几种快速清空文件内容的方法
几种快速清空文件内容的方法:
$ : > filename #其中的 : 是一个占位符, 不产生任何输出.
$ > filename
$ echo “” > filename
$ echo /dev/null > filename
$ echo > filename
$ cat /dev/null > filename
- linux几种快速清空文件内容的方法
- linux几种快速清空文件内容的方法
- linux几种快速清空文件内容的方法
- linux几种快速清空文件内容的方法
- linux几种快速清空文件内容的方法
- linux几种快速清空文件内容的方法
- linux几种快速清空文件内容的方法
- linux几种快速清空文件内容的方法
- linux几种快速清空文件内容的方法
- linux几种快速清空文件内容的方法
- linux几种快速清空文件内容的方法
- linux几种快速清空文件内容的方法
- linux几种快速清空文件内容的方法 、删除部分内容的方法
- Linux下清空文件内容的几种方法
- linux中快速清空文件内容的几种方法
- linux中快速清空文件内容的几种方法
- linux中快速清空文件内容的几种方法
- linux中快速清空文件内容的几种方法
- SSRS2008-Reporting Service Tips
- msysgit - Windows Git安装配置
- google code上建立项目的方法
- 自绘文本、颜色的CStatic
- [CSS3]CSS3 Media Queries在iPhone4和iPad上的运用
- linux几种快速清空文件内容的方法
- cocos2d的基础
- 如何编程实现开启或关闭GPS?
- Page眼中的Google+:Google的社交支柱
- 全球首款22nm CPU性能评测
- Android特色开发 Google Map
- VC++常规错误之15:switch中初始化的错误.error C2361: “default”标签跳过“acmd”的初始化操作
- ETL工具比较
- centos 新服务器配置