in this tutorial we will show you the
two ways in which you can zip files on
Linux first of all right click on any
file or folder and choose the compress
option from the menu with that done the
compress utility window opens up here
you can rename the folder change the
compression method and the location
where the zipped file will be saved
click on other options - and over here
you can set a password for the zip file
once done simply click on the create
option and here you can see that the zip
file has been created on the desktop you
can also create zip files through the
terminal as well with the terminal
application opened up go to the
directory where the file or folder which
you want to compress are placed since
the files are at the desktop let's input
CD desktop to access the location now
let's type in dir and hit enter this
will display all the files and folders
within the directory over here you can
see two items test folder and test file
now type in zip - our space test
underscore folder zip space test
underscore folder and hit enter
this will zip the folder similarly let's
zip the test file as well
you can notice on the desktop that as we
use the commands in the terminal
application the zip file is created on
the desktop