bash:commands:archiving_compression_commands
Differences
This shows you the differences between two versions of the page.
bash:commands:archiving_compression_commands [2021/01/26 15:28] – created peter | bash:commands:archiving_compression_commands [2021/01/26 15:28] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== BASH - Commands - Archiving / Compression Commands ====== | ====== BASH - Commands - Archiving / Compression Commands ====== | ||
+ | |||
+ | ^Description^Command^ | ||
+ | |Compress file and rename it to filename.gz|gzip filename| | ||
+ | |Create a tar file containing a directory|tar cf home.tar /home| | ||
+ | |Create a tar file with gzip compression|tar czf tarfile.tar.gz files| | ||
+ | |Extract files from a tar file|tar xf filename.tar| | ||
+ | |||
+ | |||
+ | ---- | ||
bash/commands/archiving_compression_commands.1611674901.txt.gz · Last modified: 2021/01/26 15:28 by peter