How do I open a tar file in Linux?

Phương Linh

New member
How do I open a tar file in Linux?
Answer
How to open or Untar a “tar” file in Linux or Unix:
  1. From the terminal, change to the directory where yourfile.tar has been downloaded.
  2. Type tar -xvf yourfile.tar to extract the file to the current directory.
  3. Or tar -C /myfolder -xvf yourfile.tar to extract to another directory.
 

Tìm kiếm

Back
Top