{"id":1877,"date":"2019-02-01T20:07:31","date_gmt":"2019-02-01T20:07:31","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/linux-command-reference\/compression-and-archive\/"},"modified":"2019-02-01T20:07:31","modified_gmt":"2019-02-01T20:07:31","slug":"compression-and-archive","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/linux-command-reference\/compression-and-archive\/","title":{"rendered":"Compression and Archive"},"content":{"rendered":"<table>\n<tr>\n<th>Command<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td> tar cf home.tar home<\/td>\n<td> Creates a tar named home.tar containing home\/<\/td>\n<\/tr>\n<tr>\n<td> gzip file                     <\/td>\n<td> Compresses file and renames it to file.gz<\/td>\n<\/tr>\n<tr>\n<td> bzip2 -z file                 <\/td>\n<td> Compresses file and renames it to file.bz2<\/td>\n<\/tr>\n<tr>\n<td>  tar xf file.tar<\/td>\n<td> Extracts the files from file.tar<\/td>\n<\/tr>\n<tr>\n<td>    tar czf  file.tar.gz files<\/td>\n<td> Creates a tar with gzip compression<\/td>\n<\/tr>\n<tr>\n<td>    bzip2 -d file.bz2<\/td>\n<td> Decompress the file<\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Command Description tar cf home.tar home Creates a tar named home.tar containing home\/ gzip file Compresses file and renames it to file.gz bzip2 -z file Compresses file and renames it to file.bz2 tar xf file.tar Extracts the files from file.tar tar czf file.tar.gz files Creates a tar with gzip compression bzip2 -d file.bz2 Decompress the [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1712,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1877","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1877","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=1877"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1877\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1712"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=1877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}