{"id":1045,"date":"2018-10-05T09:53:34","date_gmt":"2018-10-05T09:53:34","guid":{"rendered":"https:\/\/www.yaalim.org\/blog\/?p=1045"},"modified":"2021-05-24T07:43:19","modified_gmt":"2021-05-24T07:43:19","slug":"how-to-create-a-password-protected-zip-file-in-linux","status":"publish","type":"post","link":"https:\/\/www.streebo.com\/blog\/how-to-create-a-password-protected-zip-file-in-linux\/","title":{"rendered":"How to Compress Files and Folders with a Password in Ubuntu | Create A Password Protected Zip File in Linux"},"content":{"rendered":"<p>This simple tutorial shows you how to compress files and folder and create a password protected zip file in Linux Ubuntu. To add a little security to your hidden files\/records, you can compress them with a password and then hide them from a GUI file manager as below mention:<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Below are the steps to create a password protected zip file in Linux.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>First, create a file.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1051\" src=\"https:\/\/www.yaalim.org\/blog\/wp-content\/uploads\/2018\/10\/first-create-a-file-and-compress-in-linux.jpg\" alt=\"first-create-a-file-and-compress-in-linux\" width=\"891\" height=\"577\" srcset=\"https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/first-create-a-file-and-compress-in-linux.jpg 891w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/first-create-a-file-and-compress-in-linux-300x194.jpg 300w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/first-create-a-file-and-compress-in-linux-768x497.jpg 768w\" sizes=\"auto, (max-width: 891px) 100vw, 891px\" \/><\/strong><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p>Here I create a file and name it \u2018test\u2019 then Right Click on the created file and click on compress you can see in below screenshot<\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1047\" src=\"https:\/\/www.yaalim.org\/blog\/wp-content\/uploads\/2018\/10\/compress-files-and-folders-with-a-password-in-ubuntu.jpg\" alt=\"compress-files-and-folders-with-a-password-in-ubuntu\" width=\"894\" height=\"577\" srcset=\"https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/compress-files-and-folders-with-a-password-in-ubuntu.jpg 894w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/compress-files-and-folders-with-a-password-in-ubuntu-300x194.jpg 300w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/compress-files-and-folders-with-a-password-in-ubuntu-768x496.jpg 768w\" sizes=\"auto, (max-width: 894px) 100vw, 894px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>After that, you can see a dialogue box as shown in the figure below.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1052\" src=\"https:\/\/www.yaalim.org\/blog\/wp-content\/uploads\/2018\/10\/linux-dialogue-box-as-shown.jpg\" alt=\"linux-dialogue-box-as-shown\" width=\"889\" height=\"580\" srcset=\"https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/linux-dialogue-box-as-shown.jpg 889w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/linux-dialogue-box-as-shown-300x196.jpg 300w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/linux-dialogue-box-as-shown-768x501.jpg 768w\" sizes=\"auto, (max-width: 889px) 100vw, 889px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Drop down the list and select zip<\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1050\" src=\"https:\/\/www.yaalim.org\/blog\/wp-content\/uploads\/2018\/10\/drop-down-the-list-and-select-zip-file-linux-ubuntu.jpg\" alt=\"drop-down-the-list-and-select-zip-file-linux-ubuntu\" width=\"892\" height=\"580\" srcset=\"https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/drop-down-the-list-and-select-zip-file-linux-ubuntu.jpg 892w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/drop-down-the-list-and-select-zip-file-linux-ubuntu-300x195.jpg 300w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/drop-down-the-list-and-select-zip-file-linux-ubuntu-768x499.jpg 768w\" sizes=\"auto, (max-width: 892px) 100vw, 892px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Then after clicking on other options:<\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1046\" src=\"https:\/\/www.yaalim.org\/blog\/wp-content\/uploads\/2018\/10\/after-clicking-on-other-options-ubuntu-linux.jpg\" alt=\"after-clicking-on-other-options-ubuntu-linux\" width=\"887\" height=\"574\" srcset=\"https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/after-clicking-on-other-options-ubuntu-linux.jpg 887w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/after-clicking-on-other-options-ubuntu-linux-300x194.jpg 300w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/after-clicking-on-other-options-ubuntu-linux-768x497.jpg 768w\" sizes=\"auto, (max-width: 887px) 100vw, 887px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Enter Password in password panel and click on create.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1054\" src=\"https:\/\/www.yaalim.org\/blog\/wp-content\/uploads\/2018\/10\/password-panel-linux-ubuntu.jpg\" alt=\"password-panel-linux-ubuntu\" width=\"888\" height=\"576\" srcset=\"https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/password-panel-linux-ubuntu.jpg 888w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/password-panel-linux-ubuntu-300x195.jpg 300w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/password-panel-linux-ubuntu-768x498.jpg 768w\" sizes=\"auto, (max-width: 888px) 100vw, 888px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Then you can see a dialogue box with message test.zip created successfully.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1049\" src=\"https:\/\/www.yaalim.org\/blog\/wp-content\/uploads\/2018\/10\/dialogue-box-with-message-test-zip-created-successfully-ubuntu-linux.jpg\" alt=\"dialogue-box-with-message-test-zip-created-successfully-ubuntu-linux\" width=\"888\" height=\"578\" srcset=\"https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/dialogue-box-with-message-test-zip-created-successfully-ubuntu-linux.jpg 888w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/dialogue-box-with-message-test-zip-created-successfully-ubuntu-linux-300x195.jpg 300w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/dialogue-box-with-message-test-zip-created-successfully-ubuntu-linux-768x500.jpg 768w\" sizes=\"auto, (max-width: 888px) 100vw, 888px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Now try to open the file you can see a dialogue box which asks for the password.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1053\" src=\"https:\/\/www.yaalim.org\/blog\/wp-content\/uploads\/2018\/10\/open-the-file-you-can-see-dialogue-linux-ubuntu.jpg\" alt=\"open-the-file-you-can-see-dialogue-linux-ubuntu\" width=\"891\" height=\"580\" srcset=\"https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/open-the-file-you-can-see-dialogue-linux-ubuntu.jpg 891w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/open-the-file-you-can-see-dialogue-linux-ubuntu-300x195.jpg 300w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/open-the-file-you-can-see-dialogue-linux-ubuntu-768x500.jpg 768w\" sizes=\"auto, (max-width: 891px) 100vw, 891px\" \/><\/strong><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p>Enter a password which you added.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1048\" src=\"https:\/\/www.yaalim.org\/blog\/wp-content\/uploads\/2018\/10\/create-a-password-protected-zip-file-in-linux.jpg\" alt=\"create-a-password-protected-zip-file-in-linux\" width=\"885\" height=\"577\" srcset=\"https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/create-a-password-protected-zip-file-in-linux.jpg 885w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/create-a-password-protected-zip-file-in-linux-300x196.jpg 300w, https:\/\/www.streebo.com\/blog\/wp-content\/uploads\/2018\/10\/create-a-password-protected-zip-file-in-linux-768x501.jpg 768w\" sizes=\"auto, (max-width: 885px) 100vw, 885px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Note:<\/strong> Don&#8217;t forget the password, otherwise you will lose your data. Currently, only 7-Zip, ZIP, RAR and ARJ archives supports encryption.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This simple tutorial shows you how to compress files and folder and create a password protected zip file in Linux Ubuntu. To add a little security to your hidden files\/records, you can compress them with a password and then hide them from a GUI file manager as below mention: &nbsp; Below are the steps to [&hellip;]<\/p>\n","protected":false},"author":30,"featured_media":1051,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[72],"tags":[],"class_list":["post-1045","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.streebo.com\/blog\/wp-json\/wp\/v2\/posts\/1045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.streebo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.streebo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.streebo.com\/blog\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/www.streebo.com\/blog\/wp-json\/wp\/v2\/comments?post=1045"}],"version-history":[{"count":2,"href":"https:\/\/www.streebo.com\/blog\/wp-json\/wp\/v2\/posts\/1045\/revisions"}],"predecessor-version":[{"id":1056,"href":"https:\/\/www.streebo.com\/blog\/wp-json\/wp\/v2\/posts\/1045\/revisions\/1056"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.streebo.com\/blog\/wp-json\/wp\/v2\/media\/1051"}],"wp:attachment":[{"href":"https:\/\/www.streebo.com\/blog\/wp-json\/wp\/v2\/media?parent=1045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.streebo.com\/blog\/wp-json\/wp\/v2\/categories?post=1045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.streebo.com\/blog\/wp-json\/wp\/v2\/tags?post=1045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}