{"id":323,"date":"2019-05-17T16:42:49","date_gmt":"2019-05-17T14:42:49","guid":{"rendered":"https:\/\/ubuntu.science\/?p=323"},"modified":"2022-04-03T23:30:37","modified_gmt":"2022-04-03T21:30:37","slug":"voir-le-contenu-des-fichiers-tgz-gz-ubuntu","status":"publish","type":"post","link":"https:\/\/rootfan.com\/fr\/view-content-tgz-gz-files-ubuntu\/","title":{"rendered":"Comment voir le contenu des fichiers .tgz et .gz sur Ubuntu"},"content":{"rendered":"<p>Sur Ubuntu, si vous avez un fichier compress\u00e9 en .tgz, vous pouvez v\u00e9rifier son contenu avec la commande suivante<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">tar -tf nomdufichier.tgz<\/pre><\/pre>\n\n\n\n<p>Ou si vous avez un fichier .gz et que vous voulez v\u00e9rifier son contenu, vous pouvez le faire avec cette commande<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">gzip -cd  | plus<\/pre><\/pre>\n\n\n\n<p>Je n'ai pas test\u00e9 ces commandes sur d'autres distributions Linux, mais je suppose qu'elles fonctionneraient \u00e9galement.<\/p>","protected":false},"excerpt":{"rendered":"<p>On Ubuntu if you have a file compressed as .tgz you can check its contents with this command tar -tf filename.tgz Or if you have a .gz file and you want to check its contents, you can do so with this command gzip -cd &amp;lt;filename&amp;gt; | more I have not tested these commands on other &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/rootfan.com\/fr\/view-content-tgz-gz-files-ubuntu\/\" class=\"more-link\">Continuer la lecture<span class=\"screen-reader-text\"> de \" Comment voir le contenu des fichiers .tgz et .gz sur Ubuntu \"<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":2872,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_focus_keyword":"","rank_math_title":"","rank_math_description":"Easily view the content of .tgz and .gz files on Ubuntu without any hassle or additional software.","rank_math_robots":null,"rank_math_og_title":"","rank_math_og_description":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[46],"tags":[8,19,29],"class_list":["post-323","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-command","tag-gzip","tag-ubuntu"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/rootfan.com\/wp-content\/uploads\/pexels-photo-1382393.jpeg?fit=1880%2C1253&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/posts\/323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/comments?post=323"}],"version-history":[{"count":3,"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/posts\/323\/revisions"}],"predecessor-version":[{"id":2875,"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/posts\/323\/revisions\/2875"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/media\/2872"}],"wp:attachment":[{"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/media?parent=323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/categories?post=323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/tags?post=323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}