Skip to content

Alternative of grep command

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

Disclaimer
  1. License under CC BY-NC 4.0
  2. Copyright issue feedback me#imzye.me, replace # with @
  3. Not all the commands and scripts are tested in production environment, use at your own risk
  4. No privacy information is collected here
Try iOS App