Sunday, April 3, 2016

[Linux] -bash : zip: command not found

Got this message mean you missed install the zip software,  use the command to install it:

Linux Debina / Ubuntu
apt-get install zip
apt-get install unzip

Redhat, Fedora, CentOS

yum install zip
yum install unzip
After installed the software, use cd command to go the target directory to run zip command and you would found the zipped file.

zip -r techtach.zip /var/www/example.com/public_html


Reference:

http://techtach.com/2015/03/how-to-unzipzip-files-in-linuxunix-using-command-line/

No comments :

Post a Comment