Shell Scripting

Not exactly something learnt this month but something I had to look up again. How to password protect a ZIP file from the command line.

zip -P password myzipfile.zip filetobezipped