How to extract a zip file using the UNZIP command in Linux

Home > Search > Linux commands > How-to
  by

The unzip command without any option will extract all of the contents of a zip file to the present working directory.

~]# unzip example.zip

 


Unzip to a directory

The -d option can be used to unzip the contents to a specific directory.

~]# unzip example.zip -d /path/to/directory

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments