funzip

Print the content of the first (non-directory) member in an archive without extraction. More information: https://manned.org/funzip.

funzip path/to/archive.zip

funzip path/to/archive.gz

funzip -password password path/to/archive