Home / Blog / Post
Extracting Gzipped Sql File In Linux
Added on 30th April 2019 in Snippet

Its common to gzip a file before transporting it, it compressed the file making it smaller and easier to transfer. I use this regular for transferring database dumps, when I transfer this to a server it needs to be extracted before using.

The following command allows to to extract the file to gain access its non gzpped form.

gzip -d yourfile.sql.gz

Hi there, I am christopher shaw, a software developer form South Yorkshire, England.

I love tinkering with all things tech, and opened this website as a web presence for myself and a place to keep my notes and snippets. Hopefully you will find something here to help

Christopher Shaw