Command Line Searching with grep, find, and ag

There are lots of tools for searching files on the UNIX (macOS, Linux) command line. Which one do you use? Let's look at grep, find, and ag to understand which tool is the best for a particular search job.

Three Search Tools

There are three tools we'll look at here:

grep: This tool is for using a regular expression to search the content of one or more files. find: This is a tool for searching directory trees to find files that match certain criteria. ag: Called The Silver Searcher (a...
 •  0 comments  •  flag
Share on Twitter
Published on April 03, 2017 08:26
No comments have been added yet.