Tar and gzip when you do not have the -z tar switch
Sometimes tar does not have the -z switch depending on the system os you are on. In those cases, you can still do the tar.gz all in one command by using the format:
tar cvf – the_path_or_filelist | gzip > your.tar.gz