QuestionQ8

Automation, Orchestration, and Scripting

A systems administrator is making a backup copy of the /home/ directory. Which command lets the administrator archive and compress the directory simultaneously?

Explanation

tar uses -c to create an archive, -J to compress it with xz, and -f to specify the archive filename. Thus it creates a compressed .tar.xz archive containing /home/.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!