How to output file name from grep

-L, --files-without-match
              Suppress normal output; instead print the  name  of  each  input
              file from which no output would normally have been printed.  The
              scanning will stop on the first match.

-l, --files-with-matches
              Suppress normal output; instead print the  name  of  each  input
              file  from  which  output would normally have been printed.  The
              scanning will stop on the first match.

Featured Post

An EC2 spot instance is interrupted/unavailble due to following reasons

- Price — Since the spot price can rise above your bid price anytime. If the Spot price is greater than your maximum price, the instance wil...