Featured

    Featured Posts

tar command

The tar (tape archive) program creates archives by combining files and directories into a single file. Tarballs (archive files created by tar and typically compressed with gzip or bzip2) are often used to distribute software packages in the Linux world.
You can use many options with the tar program to modify how it functions when creating and extracting archives. Here is a list of the most common ones:
linux tar options
Compression tools such as gzip, bzip2, and xz are often used with tar, and they apply compression to the tarball as a whole rather than to the individual files. Typically, files compressed with these utilities have .gz, .bz2, or .xz extensions, respectively.
Here are some examples of the tar command.
To create a tar archive called archive.tar that contains the files results.txt and sample_text, use the following command:
linux tar create archive
To archive and compress files results.txt and sample.txt into a tarball file named compress.tgz, use  the following command:
linux tar compress archive
To extract the archive created above, use the following command:
linux tar extract archive
author

Author Name

Author Description!

Get Free Email Updates to your Inbox!

Post a Comment

www.ccna.ma

yu
Powered by Blogger.

Translate

Copyright © Learn Linux Th3pro.xyz | Blogger Templates | Designed By Code TAOUSSI