Kolam Ayer MakersLinux Foundations

tar

Use

tar -tf archive.tar

What It Does

tar lists or extracts tar archives.

Tar archives group paths into one file. Tar by itself is not compression, though tar archives are often compressed afterward.

Practice

List with -t before extracting with -x.

Watch Out

Archives can contain paths. Extract into a scratch directory first.

Recovery

Docs Pointers