Linux ag命令

一、简介

Ag是用C++写的,搜索速度快,比grep更有效率.

二、安装

RHEL7+

rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
yum install the_silver_searcher

RHEL7-

wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/utilities/CentOS_6/x86_64/the_silver_searcher-0.14-1.1.x86_64.rpm
rpm -ivh the_silver_searcher-0.14-1.1.x86_64.rpm
参考:https://github.com/ggreer/the_silver_searcher

原文链接: https://www.cnblogs.com/274914765qq/p/4740498.html

欢迎关注

微信关注下方公众号,第一时间获取干货硬货;公众号内回复【pdf】免费获取数百本计算机经典书籍

原创文章受到原创版权保护。转载请注明出处:https://www.ccppcoding.com/archives/220790

非原创文章文中已经注明原地址,如有侵权,联系删除

关注公众号【高性能架构探索】,第一时间获取最新文章

转载文章受原作者版权保护。转载请注明原作者出处!

(0)
上一篇 2023年2月13日 上午11:02
下一篇 2023年2月13日 上午11:03

相关推荐