Archiving Files with tar Flashcards Preview

Networking > Archiving Files with tar > Flashcards

Flashcards in Archiving Files with tar Deck (23):
1

Archiving files allows an entire directory structure to be...?

stored as a single file.

2

Archives are created,listed, and extracted with the...?

tar command.

3

Archive files are often...?

compressed as well

4

The _______ application provides a GUI interface to archiving files.

fileroller.

5

Often, if a directory and its underlying files are not going to be used for a while, or if the entire directory tree is going to be transferred from one place or another, people convert the directory tree into an...?

archive file.

6

he archive contains the directory and its...?

underlying files and subdirectories, packaged as a single file.

7

In Linux (and Unix), the most common command for creating and extracting archives is the.../

tar command.

8

Originally, archive files provided a solution to ...?

backing up disks to tape.

(When backing up a filesystem, the entire directory structure would be converted into a single file, which was written directly to a tape drive. The tar command derived its name from "t"ape "ar"chive.)

9

tar switch:
-c, --create
Effect:

Create an archive file.

10

tar switch:
-x, --extract
Effect:

Extract an archive file.

11

tar switch:
-t, --list
Effect:

List the contents of an archive file.

12

Almost every invocation of the tar command must include the...?

-f command line switch and its argument, which specifies which archive file is being created, extracted, or listed.

13

you can extract the archive file in the /tmp directory, using...?

tar -x

14

Use the mutt command to ..>/

email archive as an attachment.

15

The first command line switch to the tar command must be one of the special switches. Because the first switch is always one of a few choices, the tar command allows a shortcut; you do not need to include the....?

leading hyphen. Often, experienced users of tar will use shortened command lines.

16

Tar Switch:
-C, --directory=DIR
Effect:????

Change to directory DIR

17

Tar Switch:
-P, --absolute-reference
Effect: ????

don't strip leading / from filenames

18

Tar Switch:
-v, --verbose
Effect: ????

list files processed

19

Tar Switch:
-z, --gzip
Effect: ????

internally gzip archive

20

Tar Switch:
-j, --bzip2
Effect: ????

internally bizp2 archive

21

As a rule, archive files will always unpack locally, reducing the chance that you will unintentionally..?

clobber files in your filesystem by unpacking an archive on top of them.

22

When constructing the archive, this behavior can be overridden with the ...?

-P command line switch.

23

When constructing an archive, the -C command line switch can be used to..?

help establish context by changing directory before the archive is constructed.