In tar, what does the -v option do when used with -c to create an archive?

Prepare for the Red Hat Certified Systems Admin Exam EX200. Enhance your skills with interactive quizzes, flashcards, and detailed explanations. Ace your certification exam today!

Multiple Choice

In tar, what does the -v option do when used with -c to create an archive?

Explanation:
When tar creates an archive, the -v option enables verbose output, meaning tar prints each file’s name as it is added. So using -c with -v will create a new archive and display the files being processed as they’re added. The other functions aren’t what -v does: verification is a separate option, compression is controlled by a different flag, and naming the archive is done with -f, not by -v.

When tar creates an archive, the -v option enables verbose output, meaning tar prints each file’s name as it is added. So using -c with -v will create a new archive and display the files being processed as they’re added. The other functions aren’t what -v does: verification is a separate option, compression is controlled by a different flag, and naming the archive is done with -f, not by -v.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy