How to unzip

Linux has both zip and unzip program. By default, these utilities not installed,

To install them from shell prompt,

  • login as a root user
  • apt-get install zip
  • apt-get install unzip – if it is a debian
  • yum install zip
  • yum install unzip – if it is redhat/fedora

Use zip & unzip :

  • zip is a compression and file packaging utility for Linux and Unix (including FreeBSD, Solaris etc).
  • if you want make a zip archive file (eg,  days )
  • zip days * – command to zip the file
  • zip -r month * – command to zip a entire directory(month/)
  • unzip – command to unzip the days file
  • unzip -d /home – command to extract the zip file into /home

Have a nice day!

Was this answer helpful?

 Print this Article

Also Read

Install Rar/Unrar centos 6

for 64 bit install unrar centos x64#wget...

How to install mod_evasive

  How to install mod_evasive How to install mod_evasive on a Directadmin server by admin on...

Easy ruTorrent installer + Web server, FTP, Webmin (Ubuntu/Debian/Fedora/More)

All credit goes to Author brock from  original post here for reference also...

Add multiple IPs to a server

For example if you want to add a few IPs from the class: [root@box ~]# cd...

How to install ImageMagick

Install ImageMagick: ImageMagick is a software suite to create, edit, and compose bitmap...