Skip to main content

How to use Tar

  • tar
    • -c create a new tar file
    • -p keep file permissions
    • -t show content of tar file
    • -v show details of tar operation
    • -x extract content
    • -z extract or compress gzip file
    • -J extract or compress bzip file
    • -f point the target file