chapter 13

Ace your homework & exams now with Quizwiz!

What option would you use to preserve the permissions of files and folders when extracting an archive?

-p

Which of the following options will list the table of contents of an archive? (Choose two)

-t --list

What is the name of the command used in RHEL to archive and compress files?

Tar

A tar file has been compressed and the filename is mylogfiles.tar.gz Which compression option was used?

-z

What are the three options to compress a tar file?

-z -j -J

The tar command will archive files, but you need to use the gzip command to compress files.

False

When decompressing a tar file, you must extract the tar file first.

False

Of the three types of compression options, put them in order of least compress to best compression.

gzip, bzip2, xz

What command would I use to sync files or folders between a workstation and a remote server?

rsync

What command uses the SSH protocol where you can security transfer files from one workstation to a remote workstation?

scp

If I wanted to transfer a file (/etc/passwd) from one server to another one and place it in the /tmp folder, which complete command would I use?

scp /etc/passwd student@serverb:/tmp

Which command below creates an archive file called mylogfiles.tar and includes the directory and files in /var/log?

tar -cf mylogfiles.tar /var/log

Type the FULL command to list the contents of mylogfiles.tar.

tar -tf mylogfiles.tar


Related study sets

Health and Human Development - Unit 1 Exam Revision

View Set

BIO 277 Unit 5 Review:Cardiovascular Physiology

View Set

18-9 Organs With Secondary Endocrine Functions

View Set

Personal Fiance Exam 2 Questions

View Set