
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 command lineįirst thing first, make sure that you have zip support enabled in your Linux system. I will show you how to password protect a zip file without installing a dedicated tool. 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.

Create password protected zip file using Nautilus file manager.Create password protected zip file in Linux command line.

Command line steps are the same for any Linux distribution. I am using Ubuntu in this tutorial but you can use any Linux distribution that uses Nautilus (now called Files) file manager for the graphical part.

Today, we’ll see how to create password protected zipped files in Linux, in both command line and graphical way. We have also seen encrypted text editor for Linux. We have seen how to password protect folders in Ubuntu earlier.
