Categories: Linux

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.

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!

LinuxJedi

Recent Posts

Reviving an Amiga 600: From Dead Video to a Clean Boot

I managed to score an Amiga 600 motherboard which was faulty for £41. This weekend…

2 weeks ago

The Amiga 1200 That Fought Back: The Faults I Missed the First Time

I recently repaired an Amiga 1200 with a difficult to find fault. Unfortunately, it came…

3 weeks ago

Why Recapping Isn’t Always the Cure: And Amiga 1200 Repair Story

I often see on places such as Facebook that an Amiga owner will show a…

1 month ago

KDE Plasma Automatic Time Zone

I have been a full time KDE Plasma user for quite a while now. Whilst…

1 month ago

The wolfDemo Board Story: From Idea to Reality

I work building open-source cybersecurity solutions for wolfSSL. These solutions often involve embedded environments, which…

2 months ago

Upgrading the RAM Detective: A Firmware Adventure with RAMCHECK

The firmware in my RAMCHECK is very old, there were many updates since then. Unfortunately,…

5 months ago