{"id":444,"date":"2019-08-13T16:08:18","date_gmt":"2019-08-13T23:08:18","guid":{"rendered":"https:\/\/blog.iabsolute.com\/?p=444"},"modified":"2019-08-13T16:08:18","modified_gmt":"2019-08-13T23:08:18","slug":"how-do-i-unzip-a-zip-file-in-terminal","status":"publish","type":"post","link":"https:\/\/blog.iabsolute.com\/?p=444","title":{"rendered":"How do I unzip a zip file in Terminal?"},"content":{"rendered":"\n<ol class=\"wp-block-list\"><li>Open a terminal ( Ctrl + Alt + T should work).<\/li><li>Now create a temporary folder to extract the file: mkdir temp_for_zip_extract .<\/li><li>Let&#8217;s now extract the zip file into that folder: unzip \/path\/to\/file.zip -d temp_for_zip_extract<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><\/h2>\n\n\n\n<p>sample here &#8211;> root@host: unzip test.zip -d \/var\/www\/folder-to-extract<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Open a terminal ( Ctrl + Alt + T should work). Now create a temporary folder to extract the file: mkdir temp_for_zip_extract . Let&#8217;s now extract the zip file into that folder: unzip \/path\/to\/file.zip -d temp_for_zip_extract sample here &#8211;> root@host: &hellip; <a href=\"https:\/\/blog.iabsolute.com\/?p=444\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,2],"tags":[],"class_list":["post-444","post","type-post","status-publish","format-standard","hentry","category-command-line-my-linux","category-my-linux"],"_links":{"self":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=444"}],"version-history":[{"count":1,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions"}],"predecessor-version":[{"id":445,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions\/445"}],"wp:attachment":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}