I have a .gz file called document.txt.gz file. It is supposed to be a text file which got compressed to a gzip file. When I uncompress, I am getting a corrupt file.
I ran the following commands:
$ file document.txt.gz
and the result is
document.txt.gz: gzip compressed data, max speed, from FAT filesystem (MS-DOS, OS/2, NT)
and I again ran the file command on the unzipped portion
$ file document.txt.gz
and the result is
document.txt: gzip compressed data, last modified: Mon Mar 12 22:16:42 2018, from Unix
I am unsure why my uncompressed file is still a gzip compressed data.
Is there a way to retrieve the original file?