Opening a tar.gz file

CTPC

New Member
Joined
Jul 29, 2019
Messages
1
Reaction score
0
Credits
0
I have tried using tar tzf and tar xzf. What are the linux commands to open a tar.gz file?
 


You can do it in two steps.

gunzip myarchive.tar.gz (this will remove the .gz extension)

tar xvf myarchive.tar

or you can do it in one step

tar xzvf myarchive.tar.gz
 


Top