Listing Contents of tar.gz file

Hi fellows,

Can you please share any command with which I can list down the file names inside a tar.gz file.
I have tried with these possibilities but in vain.

bash-3.00$ tar -ztvf file.tar.gz
tar: z: unknown function modifier
bash-3.00$ tar ztvf file.tar.gz
tar: z: unknown function modifier
bash-3.00$ tar jtvf file.tar.gz
tar: j: unknown function modifier
gunzip -c file.tar.gz
gunzip -c file.tar.gz | tar -tvf -