获取`grep` 不输出文件名

Ram*_*hum 24 grep

当我使用grep -o在多个文件中搜索时,它输出每个结果都带有文件名前缀。我怎样才能防止这个前缀?我想要没有文件名的结果。

ser*_*gut 35

使用选项 -h。

-h, --no-filename
          Suppress the prefixing of file names on  output.   This  is  the
          default  when there is only one file (or only standard input) to
          search.
Run Code Online (Sandbox Code Playgroud)