3.1 Archiving Files on the Command Line Flashcards

1
Q

Archive

decompresses bzip2 file

A

bunzip2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Archive

output contents of a bzip compressed file

A

bzcat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Archive

compress files using bzip2 algorithm format

A

bzip2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Archive

Decompress a gzip compressed file

A

gunzip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Archive

compresses files using gzip algorithm and format

A

gzip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Archive

create, update list and extract tar archives

A

tar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Archive

decompress an xz compressed file

A

unxz

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Archive

decompress and extract content from zip file

A

unzip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Archive

compress files using the zz algorithm and format

A

xz

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Archive

output contents of gzip compressed file

A

zcat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Archive

creates and compresses zip archives

A

zip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Archive

according to the extensions what tools used to create file

archive.tar

A

tar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Archive

according to the extensions what tools used to create file

archive.tgz

A

tar

gzip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Archive

according to the extensions what tools used to create file

archive.tar.xz

A

tar

xz

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Archive

What is the status are the file extensions

file.tar

A

archive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Archive

What is the status are the file extensions

file.tar.bz2

A

archive

compressed

17
Q

Archive

What is the status are the file extensions

file.zip

A

archive

compressed

18
Q

Archive

What is the status are the file extensions

file.zx

A

compressed

19
Q

Archive

tar option instructs tar to include the leading / in absolute paths

A

-P

20
Q

Archive

Does zip support different compression levels

A

use -#, replacing # with a number from 0-9

21
Q

Archive

When extracting files, does tar support globs in the file list?

A

Yes, you would use the –wildcards option. –wildcards must be placed right after the tar
file when using the no dash style of options

22
Q

Archive

How can you make sure a decompressed file is identical to the file before it was compressed?

A

You don’t need to do anything with the tools covered in this lesson. All three of them include
checksums in their file format that is verified when they are decompressed.

23
Q

Archive

What happens if you try to extract a file from a tar archive that already exists on your
filesystem?

A

The file on your filesystem is overwritten with the version that is in the tar file

24
Q

Archive

How would you extract the file archive.tgz without using the tar z option?

A

decompress it with gunzip first.