PrepAway - Latest Free Exam Questions & Answers

What happens?

You have been requested to restore some files to the home directory of /export/home/usera by using the tar command. You cd to the home directory of usera before doing the restore.
What happens?

PrepAway - Latest Free Exam Questions & Answers

A.
If a file you want to restore existed, it would not be restored.

B.
An existing file is renamed to filename.old and a new file is restored,

C.
If a file you want to restore already existed, it would be overwritten by the restored file.

D.
If a file you want to restore already existed, only the modification time would be updated.

Explanation:

A restore overwrites any files already in that location with the same name.
That is why it is best to always restore to a temporary area first to be on the safe side.

One Comment on “What happens?


Leave a Reply