vim快捷命令

:% s/^/#/g 来在全部内容的行首添加 # 号注释

:1,10 s/^/#/g 在1~10 行首添加 # 号注释

 awk '{$1="";print $0}' file  输出时,删除第一列

原文地址:https://www.cnblogs.com/heze93/p/13935205.html