Why can't zgrep search recursively and errors out as "/usr/bin/zgrep -r option not supported" ?
Issue
- Why can't
zgrep
search recursively and errors out as follows?
[root@localhost greptest]# zgrep -r *
/usr/bin/zgrep: -r: option not supported
Environment
- Red Hat Enterprise Linux 7.3
grep-2.20-2.el7.x86_64
gzip-1.5-8.el7.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.