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 days.zip – command to unzip the days file
  • unzip days.zip -d /home – command to extract the zip file into /home

Have a nice day!

  • Email, SSL
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to install IonCube Loaders

How to install ionCube loader: ionCube produces leading tools for PHP source code protection...

Basic commands

How to use Linux:Linux is a Unix based operating system. Linux has a reputation as a very...

How to check the load average

How to check the load average : w w displays information about the users currently on the...

Optimize mySQL and Apache

Optimize mySQL: Memory usage is an important thing when consider the server. Normally mySQL...

Install Rar/Unrar centos 6

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