How do I unzip a tar file in Ubuntu?

Lò Ngọc

New member
How do I unzip a tar file in Ubuntu?
Answer
How to open a tar file in Unix or Linux
  1. Open a terminal window ctrl+alt+t.
  2. From the terminal, change directory to where your .tar.gz file is located, (replacing file_name.tar.gz with the actual name of your file) cd /directory_path/file_name.tar.gz.
  3. To extract the contents of the tar.gz file to the current directory, type. tar -zxvf file_name.tar.gz.
 

Tìm kiếm

Back
Top