How to grep a pattern from `tar` file without extracting it in Red Hat Enterprise Linux?
Issue
- How to
grep
a pattern fromtar
file without extracting it in Red Hat Enterprise Linux? - How to extract a directory alone from
*.tar
or*.tar.gz
?
Environment
- Red Hat Enterprise Linux 4
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.