I am using the zcat command and streaming a .tar.gz file through a piping operation. I want to skip the first line while zcat reads the file. How is it possible?
You can pipe the output to tail, passing -n +2
to start at the second line:
zcat file | tail -n +2