Skip to content

Instantly share code, notes, and snippets.

@SeedyROM
Created March 9, 2020 17:55
Show Gist options
  • Save SeedyROM/cf0ecdaac0c75fd71c4840ce80e23816 to your computer and use it in GitHub Desktop.
Save SeedyROM/cf0ecdaac0c75fd71c4840ce80e23816 to your computer and use it in GitHub Desktop.
Grep Multiple Files and List Their Names
# The /dev/null forces grep to have multiple file names so it tricks the output into listing the files their names
grep ${REPLACE-ME} /dev/null *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment