Zipping file on Linux is very simple, just make sure you have zip command, otherwise, you need to install zip…