ack better grep for programmers
ack is a tool like grep optimized for programmers.
ack show the matched files name only
On Debian/Ubuntu, you can install it with apt
1 |
apt install ack |
To install from source, run
1 |
curl https://beyondgrep.com/ack-v3.0.2 > /usr/local/bin/ack && chmod 0755 /usr/local/bin/ack |
For installing for just one user, run
1 |
curl https://beyondgrep.com/ack-v3.0.2 > ~/bin/ack && chmod 0755 ~/bin/ack |
On RHEL/CentOS, you may need to install dependency
1 |
yum install perl-version |
For the latest version, always check
https://beyondgrep.com/install/
See grep