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!

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

Related Articles

Basic commands

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

How to change mysql root password

MySQL Change root Password: Setting up mysql password is one of the essential tasks. By default...

How to change the root password

How to change the root password Change root password: There are two kind of things we need to...

How to check the load average

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

How to install csf

How to install csf: wget tar zxvf csf.tgz cd csf...