1 | initial version |
When using the zip encryption command in Linux, the method for entering a password in the command line is to use the '-e' option followed by the password. For example:
zip -e archive.zip file.txt
Enter password:
Verify password:
After entering the command, you will be prompted to enter and verify the password. The password will not be displayed on the screen.