Find all files in the directory 7.Linux whether it contains a string

grep -rn "map" *

Description:
-r is recursive lookups
-n is a display line numbers
*: all files in the current directory, it can be a file name

Guess you like

Origin www.cnblogs.com/allenhu320/p/11284070.html