Linux命令之清空当前文件

vi进入文件

英文状态下按下  / 

输入  %d

执行

清空当前文件

over!O(∩_∩)O哈哈~

猜你喜欢

转载自www.cnblogs.com/yulongcode/p/10729641.html