Zip a file
Published on May 25th, 2020
This comes in handy especially whenever you want to download multiples files from a server or take backups.
zip [option] output_file input1 input2
For example: if you want to zip an entire directory with it's file contents, just do this:
zip -r myfiles.zip folder/