Backup Flashcards

1
Q

Display the content is the achive

A

tar –list –file archive.tar

tar -tf archive.tar

tar tf archive tar

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

Create tar

A

tar –create –file archive.tar file1

tar -cf archive file1

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

Append to tar

A

tar –append –file archive.tar file2

tar rf archive.tar file2

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

Archive an entire directory

A

tar –create –file archive.tar Pictures/

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

Before extracting use the list option to see where the filed will be end up

A

tar –list –file archive.tar
tar tf archive.tar

Look at absolute and relative paths

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

Extract to a different directory

A

tar –extract –file archive.tar –directory /tmp

tar xf archive.tar -C /tmp/

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

Types of compression tools

A

gzip file1
bzip2 file2
xz file3

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

Types of compression tools

A

gzip file1
bzip2 file2
xz file3

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

Decompression tools

A

gunzip file1.gz for gzip
bunzip file2.bz2 for bzip2
unxz file3.xz for xz file3

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