While trying to uncompress a tar.gz file, if you get a message something like this:
tar: z: unknown function modifier
Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@/[0-7]][bfk][X...]
You are using a Sun’s release of tar and -z is not a valid option. Instead, try following commands:
gunzip file.tar.gz
You will get a tar file, run this:
tar xf file.tar
Cheers!