一些常用命令、小技巧备忘 January 19, 2022 Posted by xwl@41 移除文本中的备注和空行 获取文本文件source_file的内容、移除其中的备注和空行,并将剩余内容保存到new_file中 cat source_file |grep -v “^#” |grep -v “^$” > new_file Updated: January 19, 2022 at 05:47 ◀ Redis选主 减少精神内耗的7件小事 ▶ Comments are closed