Linux tools: silver searcher

After my previous post about ack a Twitter follower, Nick Morrott, pointed out that there is a potentially better tool than ack.

For those who don’t know, ‘ag’ is the executable name for a tool called the “Silver Searcher“. The executable is called ‘ag’ due to the chemical symbol for Silver. This is a clone of ack but instead of using Perl it is written in C. And it is fast, crazy fast. In my quick non-scientific tests it is 3-4x faster than ack on the codebases I use.

Screenshot from 2017-08-24 17-13-39

I used ag a long time ago and completely forgot about it, so big thanks for Nick for reminding me that it exists. I’ll be switching to it for my daily usage. This is one reason why I write these blogs, there are definitely better tools out there than the ones I use!

Published by

LinuxJedi

I am a Senior Software Engineer for MariaDB leading the development of MariaDB ColumnStore.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s