egrep

用于在文件内查找指定的字符串
扩展grep - 搜索文件查找与扩展表达式匹配行

语法

  egrep [ options ] 'PATTERN' files ...

egrep 与 `grep -E’ 相同

所有其他选项与grep相同

PATTERN 一个正则表达式. 在典型用法中,引用regexp是为了防止shell将任何特殊字符扩展为文件名通配符。通常,`egrep’打印匹配的行。
如果在命令行上提供了多个文件名,则每个输出行前面都有文件名和冒号。

egrep通常比grep或fgrep更快.

选项

-c
    打印出与模式匹配的行数.

-s
    不输出,退出值指示模式是否匹配.

-v
    打印*不匹配模式的行,如果模式不匹配则退出成功

-i
    忽略模式和输入数据中的大小写区别

-l
    仅打印匹配的文件的名称,而不是匹配的行

-e PATTERN
   使用PATTERN作为匹配的正则表达式

egrep 命令实例:

linux命令:egrep -ie "<*HREF=(.*?)>" index.html | awk -F\" '{print $2}' | grep :// :// grep | $2}' '{print -F\" awk | index.html "<*HREF=(.*?)>" -ie egrep egrep -ie "<*HREF=(.*?)>" index.html | awk -F\" '{print $2}' | grep ://rootopen.com
linux命令:egrep -ie "<*HREF=(.*?)>" index.html | awk -F\" '{print $2}' | grep :// :// grep | $2}' '{print -F\" awk | index.html "<*HREF=(.*?)>" -ie egrep egrep -ie "<*HREF=(.*?)>" index.html | awk -F\" '{print $2}' | grep ://rootopen.com
2018-05-08 02:16:48

linux命令:egrep -o '\b[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\b' access.log | sort -u -u sort | access.log '\b[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\b' -o egrep egrep -o '\b[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\b' access.log | sort -urootopen.com
linux命令:egrep -o '\b[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\b' access.log | sort -u -u sort | access.log '\b[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\b' -o egrep egrep -o '\b[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\b' access.log | sort -urootopen.com
2018-03-12 14:38:48

linux命令:egrep '^[^#]' some_file some_file '^[^#]' egrep egrep '^[^#]' some_filerootopen.com
linux命令:egrep '^[^#]' some_file some_file '^[^#]' egrep egrep '^[^#]' some_filerootopen.com
2018-01-27 23:37:48

linux命令:egrep 'string1|string2' file file 'string1|string2' egrep egrep 'string1|string2' filerootopen.com
linux命令:egrep 'string1|string2' file file 'string1|string2' egrep egrep 'string1|string2' filerootopen.com
2018-03-12 22:31:48

linux命令:egrep -ci ^[aoeuidhtns-]+$ /usr/share/dict/words /usr/share/dict/words ^[aoeuidhtns-]+$ -ci egrep egrep -ci ^[aoeuidhtns-]+$ /usr/share/dict/wordsrootopen.com
linux命令:egrep -ci ^[aoeuidhtns-]+$ /usr/share/dict/words /usr/share/dict/words ^[aoeuidhtns-]+$ -ci egrep egrep -ci ^[aoeuidhtns-]+$ /usr/share/dict/wordsrootopen.com
2018-02-15 13:19:48

linux命令:egrep -v "^$|^[[:space:]]*#" /etc/some/file /etc/some/file "^$|^[[:space:]]*#" -v egrep egrep -v "^$|^[[:space:]]*#" /etc/some/filerootopen.com
linux命令:egrep -v "^$|^[[:space:]]*#" /etc/some/file /etc/some/file "^$|^[[:space:]]*#" -v egrep egrep -v "^$|^[[:space:]]*#" /etc/some/filerootopen.com
2018-02-01 08:00:48

linux命令:egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' file.txt file.txt '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' -o egrep egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' file.txtrootopen.com
linux命令:egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' file.txt file.txt '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' -o egrep egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' file.txtrootopen.com
2018-03-07 22:51:48

linux命令:egrep -r '(render_message|multipart).*('`find app/views -name '*.erb' | grep mailer | sed -e 's/\..*//' -e 's/.*\///' | uniq | xargs | sed 's/ /|/g'`')' app/models app/models /|/g'`')' 's/ sed | xargs | uniq | 's/.*\///' -e 's/\..*//' -e sed | mailer grep | '*.erb' -name app/views '(render_message|multipart).*('`find -r egrep egrep -r '(render_message|multipart).*('`find app/views -name '*.erb' | grep mailer | sed -e 's/\..*//' -e 's/.*\///' | uniq | xargs | sed 's/ /|/g'`')' app/modelsrootopen.com
linux命令:egrep -r '(render_message|multipart).*('`find app/views -name '*.erb' | grep mailer | sed -e 's/\..*//' -e 's/.*\///' | uniq | xargs | sed 's/ /|/g'`')' app/models app/models /|/g'`')' 's/ sed | xargs | uniq | 's/.*\///' -e 's/\..*//' -e sed | mailer grep | '*.erb' -name app/views '(render_message|multipart).*('`find -r egrep egrep -r '(render_message|multipart).*('`find app/views -name '*.erb' | grep mailer | sed -e 's/\..*//' -e 's/.*\///' | uniq | xargs | sed 's/ /|/g'`')' app/modelsrootopen.com
2017-12-27 22:45:48

linux命令:egrep "(There were undefined references|Rerun to get (cross-references|the bars) right)" texfile.log texfile.log right)" bars) (cross-references|the get to references|Rerun undefined were "(There egrep egrep "(There were undefined references|Rerun to get (cross-references|the bars) right)" texfile.logrootopen.com
linux命令:egrep "(There were undefined references|Rerun to get (cross-references|the bars) right)" texfile.log texfile.log right)" bars) (cross-references|the get to references|Rerun undefined were "(There egrep egrep "(There were undefined references|Rerun to get (cross-references|the bars) right)" texfile.logrootopen.com
2018-03-08 15:41:48

linux命令:egrep --color=auto 'usb|' /var/log/messages /var/log/messages 'usb|' --color=auto egrep egrep --color=auto 'usb|' /var/log/messagesrootopen.com
linux命令:egrep --color=auto 'usb|' /var/log/messages /var/log/messages 'usb|' --color=auto egrep egrep --color=auto 'usb|' /var/log/messagesrootopen.com
2018-04-07 12:29:48

linux命令:egrep "^lease" /var/lib/dhcp/db/dhcpd.leases |awk '{ print $2 }' }' $2 print '{ |awk /var/lib/dhcp/db/dhcpd.leases "^lease" egrep egrep "^lease" /var/lib/dhcp/db/dhcpd.leases |awk '{ print $2 }'rootopen.com
linux命令:egrep "^lease" /var/lib/dhcp/db/dhcpd.leases |awk '{ print $2 }' }' $2 print '{ |awk /var/lib/dhcp/db/dhcpd.leases "^lease" egrep egrep "^lease" /var/lib/dhcp/db/dhcpd.leases |awk '{ print $2 }'rootopen.com
2018-03-25 20:01:48

linux命令:egrep 'Failed password for invalid' /var/log/secure | awk '{print $13}' | uniq uniq | $13}' '{print awk | /var/log/secure invalid' for password 'Failed egrep egrep 'Failed password for invalid' /var/log/secure | awk '{print $13}' | uniqrootopen.com
linux命令:egrep 'Failed password for invalid' /var/log/secure | awk '{print $13}' | uniq uniq | $13}' '{print awk | /var/log/secure invalid' for password 'Failed egrep egrep 'Failed password for invalid' /var/log/secure | awk '{print $13}' | uniqrootopen.com
2018-03-15 09:11:48

linux命令:egrep -v "^[[:blank:]]*($|#|//|/\*| \*|\*/)" somefile somefile \*|\*/)" "^[[:blank:]]*($|#|//|/\*| -v egrep egrep -v "^[[:blank:]]*($|#|//|/\*| \*|\*/)" somefilerootopen.com
linux命令:egrep -v "^[[:blank:]]*($|#|//|/\*| \*|\*/)" somefile somefile \*|\*/)" "^[[:blank:]]*($|#|//|/\*| -v egrep egrep -v "^[[:blank:]]*($|#|//|/\*| \*|\*/)" somefilerootopen.com
2018-05-27 13:49:48

linux命令:egrep "<link>|<title>" recenttracks.rss | awk 'ORS=NR%2?" ":"\n"' | awk -F "</title>" '{print $2, $1}' | sed -e 's/\<link\>/\<li\>\<a href\=\"/' -e 's/\<\/link\>/\">/' -e 's/\<title\>//' -e 's/$/\<\/a\>\<\/li\>/g' -e '1,1d' -e 's/^[ \t]*//' \t]*//' 's/^[ -e '1,1d' -e 's/$/\<\/a\>\<\/li\>/g' -e 's/\<title\>//' -e 's/\<\/link\>/\">/' -e href\=\"/' 's/\<link\>/\<li\>\<a -e sed | $1}' $2, '{print "</title>" -F awk | ":"\n"' 'ORS=NR%2?" awk | recenttracks.rss "<link>|<title>" egrep egrep "<link>|<title>" recenttracks.rss | awk 'ORS=NR%2?" ":"\n"' | awk -F "</title>" '{print $2, $1}' | sed -e 's/\<link\>/\<li\>\<a href\=\"/' -e 's/\<\/link\>/\">/' -e 's/\<title\>//' -e 's/$/\<\/a\>\<\/li\>/g' -e '1,1d' -e 's/^[ \t]*//'rootopen.com
linux命令:egrep "<link>|<title>" recenttracks.rss | awk 'ORS=NR%2?" ":"\n"' | awk -F "</title>" '{print $2, $1}' | sed -e 's/\<link\>/\<li\>\<a href\=\"/' -e 's/\<\/link\>/\">/' -e 's/\<title\>//' -e 's/$/\<\/a\>\<\/li\>/g' -e '1,1d' -e 's/^[ \t]*//' \t]*//' 's/^[ -e '1,1d' -e 's/$/\<\/a\>\<\/li\>/g' -e 's/\<title\>//' -e 's/\<\/link\>/\">/' -e href\=\"/' 's/\<link\>/\<li\>\<a -e sed | $1}' $2, '{print "</title>" -F awk | ":"\n"' 'ORS=NR%2?" awk | recenttracks.rss "<link>|<title>" egrep egrep "<link>|<title>" recenttracks.rss | awk 'ORS=NR%2?" ":"\n"' | awk -F "</title>" '{print $2, $1}' | sed -e 's/\<link\>/\<li\>\<a href\=\"/' -e 's/\<\/link\>/\">/' -e 's/\<title\>//' -e 's/$/\<\/a\>\<\/li\>/g' -e '1,1d' -e 's/^[ \t]*//'rootopen.com
2018-04-28 18:16:48

linux命令:egrep 'https?://([[:alpha:]]([-[:alnum:]]+[[:alnum:]])*\.)+[[:alpha:]]{2,3}(:\d+)?(/([-\w/_\.]*(\?\S+)?)?)?' 'https?://([[:alpha:]]([-[:alnum:]]+[[:alnum:]])*\.)+[[:alpha:]]{2,3}(:\d+)?(/([-\w/_\.]*(\?\S+)?)?)?' egrep egrep 'https?://([[:alpha:]]([-[:alnum:]]+[[:alnum:]])*\.)+[[:alpha:]]{2,3}(:\d+)?(/([-\w/_\.]*(\?\S+)?)?)?'rootopen.com
linux命令:egrep 'https?://([[:alpha:]]([-[:alnum:]]+[[:alnum:]])*\.)+[[:alpha:]]{2,3}(:\d+)?(/([-\w/_\.]*(\?\S+)?)?)?' 'https?://([[:alpha:]]([-[:alnum:]]+[[:alnum:]])*\.)+[[:alpha:]]{2,3}(:\d+)?(/([-\w/_\.]*(\?\S+)?)?)?' egrep egrep 'https?://([[:alpha:]]([-[:alnum:]]+[[:alnum:]])*\.)+[[:alpha:]]{2,3}(:\d+)?(/([-\w/_\.]*(\?\S+)?)?)?'rootopen.com
2018-02-09 13:59:48

linux命令:egrep -i "somepattern" `find . -type f -print` -print` f -type . `find "somepattern" -i egrep egrep -i "somepattern" `find . -type f -print`rootopen.com
linux命令:egrep -i "somepattern" `find . -type f -print` -print` f -type . `find "somepattern" -i egrep egrep -i "somepattern" `find . -type f -print`rootopen.com
2018-01-13 07:54:48

linux命令:egrep '(\[error\])+.*(PHP)+' /var/log/apache2/error.log /var/log/apache2/error.log '(\[error\])+.*(PHP)+' egrep egrep '(\[error\])+.*(PHP)+' /var/log/apache2/error.logrootopen.com
linux命令:egrep '(\[error\])+.*(PHP)+' /var/log/apache2/error.log /var/log/apache2/error.log '(\[error\])+.*(PHP)+' egrep egrep '(\[error\])+.*(PHP)+' /var/log/apache2/error.logrootopen.com
2017-12-27 14:59:48

linux命令:egrep '183\.([0-9]|(1[0-6]|2[0-3]))' -J /var/log/maillog* /var/log/maillog* -J '183\.([0-9]|(1[0-6]|2[0-3]))' egrep egrep '183\.([0-9]|(1[0-6]|2[0-3]))' -J /var/log/maillog*rootopen.com
linux命令:egrep '183\.([0-9]|(1[0-6]|2[0-3]))' -J /var/log/maillog* /var/log/maillog* -J '183\.([0-9]|(1[0-6]|2[0-3]))' egrep egrep '183\.([0-9]|(1[0-6]|2[0-3]))' -J /var/log/maillog*rootopen.com
2018-01-24 19:08:48

linux命令:egrep -i "^[0-9a-f]{4,} .*$*" $(locate CharName.pm) | while read h d; do /usr/bin/printf "\U$(printf "%08x" 0x$h)\tU+%s\t%s\n" $h "$d"; done done "$d"; $h 0x$h)\tU+%s\t%s\n" "%08x" "\U$(printf /usr/bin/printf do d; h read while | CharName.pm) $(locate .*$*" "^[0-9a-f]{4,} -i egrep egrep -i "^[0-9a-f]{4,} .*$*" $(locate CharName.pm) | while read h d; do /usr/bin/printf "\U$(printf "%08x" 0x$h)\tU+%s\t%s\n" $h "$d"; donerootopen.com
linux命令:egrep -i "^[0-9a-f]{4,} .*$*" $(locate CharName.pm) | while read h d; do /usr/bin/printf "\U$(printf "%08x" 0x$h)\tU+%s\t%s\n" $h "$d"; done done "$d"; $h 0x$h)\tU+%s\t%s\n" "%08x" "\U$(printf /usr/bin/printf do d; h read while | CharName.pm) $(locate .*$*" "^[0-9a-f]{4,} -i egrep egrep -i "^[0-9a-f]{4,} .*$*" $(locate CharName.pm) | while read h d; do /usr/bin/printf "\U$(printf "%08x" 0x$h)\tU+%s\t%s\n" $h "$d"; donerootopen.com
2017-12-30 14:13:48

linux命令:egrep -i " connected|card detect|primary dev" /var/log/Xorg.0.log /var/log/Xorg.0.log dev" detect|primary connected|card " -i egrep egrep -i " connected|card detect|primary dev" /var/log/Xorg.0.logrootopen.com
linux命令:egrep -i " connected|card detect|primary dev" /var/log/Xorg.0.log /var/log/Xorg.0.log dev" detect|primary connected|card " -i egrep egrep -i " connected|card detect|primary dev" /var/log/Xorg.0.logrootopen.com
2018-03-15 14:20:48

linux命令:egrep '__NR_' /usr/include/asm/unistd_`getconf -a | awk '$1~/^WORD/{print $2}'`.h | sed -e 's/^#define __NR_//' | column -t -t column | __NR_//' 's/^#define -e sed | $2}'`.h '$1~/^WORD/{print awk | -a /usr/include/asm/unistd_`getconf '__NR_' egrep egrep '__NR_' /usr/include/asm/unistd_`getconf -a | awk '$1~/^WORD/{print $2}'`.h | sed -e 's/^#define __NR_//' | column -trootopen.com
linux命令:egrep '__NR_' /usr/include/asm/unistd_`getconf -a | awk '$1~/^WORD/{print $2}'`.h | sed -e 's/^#define __NR_//' | column -t -t column | __NR_//' 's/^#define -e sed | $2}'`.h '$1~/^WORD/{print awk | -a /usr/include/asm/unistd_`getconf '__NR_' egrep egrep '__NR_' /usr/include/asm/unistd_`getconf -a | awk '$1~/^WORD/{print $2}'`.h | sed -e 's/^#define __NR_//' | column -trootopen.com
2018-01-11 10:53:48

linux命令:egrep -ie "<*HREF=(.*?)>" index.html | cut -d "\"" -f 2 | grep :// :// grep | 2 -f "\"" -d cut | index.html "<*HREF=(.*?)>" -ie egrep egrep -ie "<*HREF=(.*?)>" index.html | cut -d "\"" -f 2 | grep ://rootopen.com
linux命令:egrep -ie "<*HREF=(.*?)>" index.html | cut -d "\"" -f 2 | grep :// :// grep | 2 -f "\"" -d cut | index.html "<*HREF=(.*?)>" -ie egrep egrep -ie "<*HREF=(.*?)>" index.html | cut -d "\"" -f 2 | grep ://rootopen.com
2018-05-08 02:42:48

linux命令:egrep -v "^$|^#" file file "^$|^#" -v egrep egrep -v "^$|^#" filerootopen.com
linux命令:egrep -v "^$|^#" file file "^$|^#" -v egrep egrep -v "^$|^#" filerootopen.com
2018-02-07 14:16:48

linux命令:egrep -in "this|that" *.dat *.dat "this|that" -in egrep egrep -in "this|that" *.datrootopen.com
linux命令:egrep -in "this|that" *.dat *.dat "this|that" -in egrep egrep -in "this|that" *.datrootopen.com
2018-01-04 05:02:48

linux命令:egrep '(expr1|expr2)' file file '(expr1|expr2)' egrep egrep '(expr1|expr2)' filerootopen.com
linux命令:egrep '(expr1|expr2)' file file '(expr1|expr2)' egrep egrep '(expr1|expr2)' filerootopen.com
2018-03-19 03:11:48

linux命令:egrep expr1\|expr2 file file expr1\|expr2 egrep egrep expr1\|expr2 filerootopen.com
linux命令:egrep expr1\|expr2 file file expr1\|expr2 egrep egrep expr1\|expr2 filerootopen.com
2018-01-01 13:40:48

linux命令:egrep -v "^\s*(#|$)" myfile.cfg myfile.cfg "^\s*(#|$)" -v egrep egrep -v "^\s*(#|$)" myfile.cfgrootopen.com
linux命令:egrep -v "^\s*(#|$)" myfile.cfg myfile.cfg "^\s*(#|$)" -v egrep egrep -v "^\s*(#|$)" myfile.cfgrootopen.com
2018-03-03 18:23:48

linux命令:egrep "([_a-zA-Z][_a-zA-Z0-9]*) *= *\1 *[*/+-] *[0-9]+ *;" *;" *[0-9]+ *[*/+-] *\1 *= "([_a-zA-Z][_a-zA-Z0-9]*) egrep egrep "([_a-zA-Z][_a-zA-Z0-9]*) *= *\1 *[*/+-] *[0-9]+ *;"rootopen.com
linux命令:egrep "([_a-zA-Z][_a-zA-Z0-9]*) *= *\1 *[*/+-] *[0-9]+ *;" *;" *[0-9]+ *[*/+-] *\1 *= "([_a-zA-Z][_a-zA-Z0-9]*) egrep egrep "([_a-zA-Z][_a-zA-Z0-9]*) *= *\1 *[*/+-] *[0-9]+ *;"rootopen.com
2018-01-31 03:48:48

linux命令:egrep 'ServerAlias|ServerName' /etc/apache2/sites-enabled/*.conf | awk '{printf "%s\t%s\n",$2,$3}' | sed 's/www.//' | sort | uniq uniq | sort | 's/www.//' sed | "%s\t%s\n",$2,$3}' '{printf awk | /etc/apache2/sites-enabled/*.conf 'ServerAlias|ServerName' egrep egrep 'ServerAlias|ServerName' /etc/apache2/sites-enabled/*.conf | awk '{printf "%s\t%s\n",$2,$3}' | sed 's/www.//' | sort | uniqrootopen.com
linux命令:egrep 'ServerAlias|ServerName' /etc/apache2/sites-enabled/*.conf | awk '{printf "%s\t%s\n",$2,$3}' | sed 's/www.//' | sort | uniq uniq | sort | 's/www.//' sed | "%s\t%s\n",$2,$3}' '{printf awk | /etc/apache2/sites-enabled/*.conf 'ServerAlias|ServerName' egrep egrep 'ServerAlias|ServerName' /etc/apache2/sites-enabled/*.conf | awk '{printf "%s\t%s\n",$2,$3}' | sed 's/www.//' | sort | uniqrootopen.com
2018-02-28 20:49:48

linux命令:egrep '.*(("STATUS)|("HEAD)).*' http_access.2012.07.18.log | awk '{sum+=$11; ++n} END {print "Tot="sum"("n")";print "Avg="sum/n}' "Avg="sum/n}' "Tot="sum"("n")";print {print END ++n} '{sum+=$11; awk | http_access.2012.07.18.log '.*(("STATUS)|("HEAD)).*' egrep egrep '.*(("STATUS)|("HEAD)).*' http_access.2012.07.18.log | awk '{sum+=$11; ++n} END {print "Tot="sum"("n")";print "Avg="sum/n}'rootopen.com
linux命令:egrep '.*(("STATUS)|("HEAD)).*' http_access.2012.07.18.log | awk '{sum+=$11; ++n} END {print "Tot="sum"("n")";print "Avg="sum/n}' "Avg="sum/n}' "Tot="sum"("n")";print {print END ++n} '{sum+=$11; awk | http_access.2012.07.18.log '.*(("STATUS)|("HEAD)).*' egrep egrep '.*(("STATUS)|("HEAD)).*' http_access.2012.07.18.log | awk '{sum+=$11; ++n} END {print "Tot="sum"("n")";print "Avg="sum/n}'rootopen.com
2018-05-11 21:09:48

linux命令:egrep_escape() { echo "$1" |sed -re 's/([\\.*+?(|)^$[])/\\\1/g' -e 's/\{/[{]/g'; } } 's/\{/[{]/g'; -e 's/([\\.*+?(|)^$[])/\\\1/g' -re |sed "$1" echo { egrep_escape() egrep_escape() { echo "$1" |sed -re 's/([\\.*+?(|)^$[])/\\\1/g' -e 's/\{/[{]/g'; }rootopen.com
linux命令:egrep_escape() { echo "$1" |sed -re 's/([\\.*+?(|)^$[])/\\\1/g' -e 's/\{/[{]/g'; } } 's/\{/[{]/g'; -e 's/([\\.*+?(|)^$[])/\\\1/g' -re |sed "$1" echo { egrep_escape() egrep_escape() { echo "$1" |sed -re 's/([\\.*+?(|)^$[])/\\\1/g' -e 's/\{/[{]/g'; }rootopen.com
2018-04-18 10:39:48

linux命令:egrep -v '(\t)?#.*|^$' /etc/apache2/sites-available/default /etc/apache2/sites-available/default '(\t)?#.*|^$' -v egrep egrep -v '(\t)?#.*|^$' /etc/apache2/sites-available/defaultrootopen.com
linux命令:egrep -v '(\t)?#.*|^$' /etc/apache2/sites-available/default /etc/apache2/sites-available/default '(\t)?#.*|^$' -v egrep egrep -v '(\t)?#.*|^$' /etc/apache2/sites-available/defaultrootopen.com
2018-03-29 16:54:48

linux命令:egrep -v "(^#|^\b*$)" "(^#|^\b*$)" -v egrep egrep -v "(^#|^\b*$)"rootopen.com
linux命令:egrep -v "(^#|^\b*$)" "(^#|^\b*$)" -v egrep egrep -v "(^#|^\b*$)"rootopen.com
2018-05-10 09:53:48

linux命令:egrep -wi --color 'warning|error|critical' 'warning|error|critical' --color -wi egrep egrep -wi --color 'warning|error|critical'rootopen.com
linux命令:egrep -wi --color 'warning|error|critical' 'warning|error|critical' --color -wi egrep egrep -wi --color 'warning|error|critical'rootopen.com
2018-04-16 01:24:48

linux命令:egrep 'word1.*word2' --color /path/file.log |more |more /path/file.log --color 'word1.*word2' egrep egrep 'word1.*word2' --color /path/file.log |morerootopen.com
linux命令:egrep 'word1.*word2' --color /path/file.log |more |more /path/file.log --color 'word1.*word2' egrep egrep 'word1.*word2' --color /path/file.log |morerootopen.com
2018-03-06 04:40:48

linux命令:egrep -v '^\s*($|#)' $(git grep -l '#!/bin/.*sh' *) | wc -l -l wc | *) '#!/bin/.*sh' -l grep $(git '^\s*($|#)' -v egrep egrep -v '^\s*($|#)' $(git grep -l '#!/bin/.*sh' *) | wc -lrootopen.com
linux命令:egrep -v '^\s*($|#)' $(git grep -l '#!/bin/.*sh' *) | wc -l -l wc | *) '#!/bin/.*sh' -l grep $(git '^\s*($|#)' -v egrep egrep -v '^\s*($|#)' $(git grep -l '#!/bin/.*sh' *) | wc -lrootopen.com
2018-05-08 18:28:48

linux命令:egrep "^compat.bility$" /usr/share/dict/words /usr/share/dict/words "^compat.bility$" egrep egrep "^compat.bility$" /usr/share/dict/wordsrootopen.com
linux命令:egrep "^compat.bility$" /usr/share/dict/words /usr/share/dict/words "^compat.bility$" egrep egrep "^compat.bility$" /usr/share/dict/wordsrootopen.com
2018-01-21 02:39:48

linux命令:egrep -v '^$|^#' /etc/sysctl.conf /etc/sysctl.conf '^$|^#' -v egrep egrep -v '^$|^#' /etc/sysctl.confrootopen.com
linux命令:egrep -v '^$|^#' /etc/sysctl.conf /etc/sysctl.conf '^$|^#' -v egrep egrep -v '^$|^#' /etc/sysctl.confrootopen.com
2018-02-09 01:30:48

linux命令:egrep -c '(vmx|svm)' /proc/cpuinfo /proc/cpuinfo '(vmx|svm)' -c egrep egrep -c '(vmx|svm)' /proc/cpuinforootopen.com
linux命令:egrep -c '(vmx|svm)' /proc/cpuinfo /proc/cpuinfo '(vmx|svm)' -c egrep egrep -c '(vmx|svm)' /proc/cpuinforootopen.com
2018-01-01 07:58:48

Linux的Bash命令行(A-Z排序)