This question already has an answer here:

I would like to know what are the commands line used to unzip and unrar a file from terminal.

marked as duplicate by mikewhatever, karel, Community Mar 12 '15 at 17:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


cd into the directory which contains the file and

type this command in the terminal :

tar -xvf filename.gz

Not the answer you're looking for? Browse other questions tagged or ask your own question.