Extracting from an archive

To extract from the archive, you can use pax with the -r option.

For example:

pax -rf my_archive.tar

or tar with the -x (extract), -v (verbose), and -f (filename) options:

tar -xvf my_archive.tar
Note: To view the contents of the archive without extracting them, use tar with the -t option instead of -x.