

You’ll be asked to enter and verify the password. The -r option is used to recursively look into directories. The only difference is the use of option -e for encryption. The method is almost the same as creating zip folder in Linux. Now, let’s see how to password protect a zip file in Linux. In Debian/Ubuntu, you can use this command: sudo apt install zip unzip If its not installed already, it will be installed. Use your distribution’s package manager and try to install it. Create password protect zip file in Linux įirst thing first, make sure that you have zip support enabled in your Linux system. I am going to show you how to password protect a zip file without installing a dedicated tool.

In fact, there are dedicated command line tools for this task, but I am not going to talk about those. There are several ways you can encrypt zip file in Linux.
