LPI Exam Questions

Select the correct alternative below that shows the three tar parameters that create, list and expan

To make a system backup, the simplest and fastest way is to use the tar command. Select the correct
alternative below that shows the three tar parameters that create, list and expand a tar file
respectively.

A.
–create –list –extract

B.
–compose –list –expand

C.
-c -t -e

D.
-c -l -x

Explanation:
From the man pages:
-c, –create create a new archive
-t, –list list the contents of an archive
-x, –extract, –get extract files from an archive