To extract the compressed tar archive target.tar.gz into the current working directory with:
gzip -dc target.tar.gz | tar xf - |
If the archive was compressed with the UNIX compress command (archive ending in .Z) you can use:
zcat target.tar.Z | tar xf - |