Tar

List contents of tar.gx and extract only one file

$ tar -ztvf file.tgz

$ tar -zxvf file.tgz filename