I am logged into Sun Solaris OS. I want to create and extract a compressed tar file. I tried this normal UNIX command:
tar -cvzf file.tar.gz directory1
It is failing to execute in Sun OS with following error
bash-3.2$ tar -cvzf file.tar.tz directory1
tar: z: unknown function modifier
Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
z
flag to GNU tar, we lost our greatest example for teaching people how to think logically and construct a pipeline...