Archiving or extracting files

Perform the following tasks in user view:

Task

Command

Archive files.

tar create [ gz ] archive-file dest-file [ verbose ] source source-file &<1-5>

Extract files.

tar extract archive-file file [ verbose ] [ screen | to directory ]

Display the names of archived files.

tar list archive-file file