Skip to content

Tar Commands

This document shows some of the most Common Tar commands

Extract

CommandDescription
tar -xvf file.tar.gzx to extract a file, v to do it verbosoly, f this must be the last flag of the command, tells the next argument is gonna me a file
tar -xvf file.tar.gz -C /output/path provide a output directory. make sure the directory exists!