CompTIA Linux+ XK0-005 Practice Question
A system administrator needs to create a compressed backup of the /var/log
directory. Which command should they use to create a gzip-compressed archive file named log_backup.tar.gz
?
tar -cvf log_backup.tar.gz /var/log
tar -tzvf log_backup.tar.gz /var/log
tar -xvf log_backup.tar.gz /var/log
tar -czvf log_backup.tar.gz /var/log