I usually extract a .tgz file using the following tar command.
tar -zxvf foo.tgz
However, this would delete foo.tgz file.
Is there a way to preserve the foo.tgz file?
I tried -Pzxvf and it seemed to work, but -P is for the following (from man
don strip leading from file names
Am I doing it right?
Is there another way?
5. tgz done