English, asked by rijaabjafar761, 1 year ago

Which of the following is the correct method of exporting a tar file?

Answers

Answered by Sidyandex
0

Extracting a tar file:

1. If the tar file is compressed using gzip compressor, use the following command to extract:

$ tar xvzf file.tar.gz

Where, ‘x’ tells tar to extract the files. ‘v’ will list all the files of the files one by one in the archive. ‘z’ tells the tar to decompress the file. ‘f’ is used to give a file name.

2. To decompress tar.gz file into a different directory, use the following command:

$ tar xvzf file.tar.gz -C /path/to/somedirectory

C is used to specify the path to the file.

Answered by avijitgangulyag
0

Answer:

docker exampleImage.tar > exampleImage

Explanation:

Similar questions