AKQVK

  • grep显示行号

    一、grep显示最后一行 grep -n “keyword” file | tail -n 1 在使用grep命令查找关键字时,有时候只需要知道该关键字最后一次出现的行号,可以使用…

    编程 2025-02-01