Question: how to open .gz on linux?
Answer: gzip access.log. Above command will create a archive file named access. log. gz in current directory.
ls -l access.log.gz -rw-r--r-- 1 root root 37 Sep 14 04:02 access.log.gz. Now use gunzip command to extract access. log. gz file using command. This will extract the file from archive and remove . ... 
gunzip access.log.gz.