exam questions

Exam EX200 All Questions

View all questions & answers for the EX200 exam

Exam EX200 topic 1 question 110 discussion

Actual exam question from RedHat's EX200
Question #: 110
Topic #: 1
[All EX200 Questions]

SIMULATION -
Create a backup file named /root/backup.tar.bz2, which contains the contents of /usr/local, bar must use the bzip2 compression.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
cd /usr/local
tar -jcvf /root/backup.tar.bz2*
mkdir /test
tar -jxvf /root/backup.tar.bz2 -C /test/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
STFN2019
Highly Voted 3 months, 2 weeks ago
Archive through bzip2 in a current dir: tar -jcvf backup.tar.bz2 /usr/local Extract: mkdir /test tar -jxvf backup.tar.bz2 -C /test
upvoted 5 times
...
hareshrajpara
Most Recent 8 months, 3 weeks ago
# tar cvf backup.tar /usr/local #bzip2 backup.tar
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago