ack show the matched files name only

ack is a command-line utility written in Perl for searching strings inside files. By default when you search, it shows you the file name along with the matching content of the file. Sometimes you may only want to list file names that match your search. This can be done with -l option

Example

ack list files

See ack

Leave a Reply

Your email address will not be published. Required fields are marked *