Skip to content

Alternative of grep in Linux

1、ack

yum install ack

2、ag

yum install ag
## or
git clone https://github.com/ggreer/the_silver_searcher.git
yum install automake pkgconfig pcre-devel zlib-devel xz-devel
cd the_silver_searcher
./build.sh
sudo make install

3、fzf

git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install