linux 下某个文字在某几行的shell 写法 。

  cat -n  139.sql |grep "kkkn"
  sed -n '697804,697812p' 139.sql

原文地址:https://www.cnblogs.com/seasonzone/p/4968112.html