T Thịnh Võ Member Jan 17, 2022 #1 How do I grep a GZ file? Answer You need to use zgrep command which invokes grep on compressed or gzipped files. All options specified are passed directly to the grep command or egrep command.
How do I grep a GZ file? Answer You need to use zgrep command which invokes grep on compressed or gzipped files. All options specified are passed directly to the grep command or egrep command.