When I did
unzip /var/www/html/web.zip
It unzipped the zip to /root/ folder. I need it to unzip the files to /var/www/html/
why is it happening?
CentOS 6.3 64bit
try this:
unzip /var/www/html/web.zip -d /var/www/html/
your command extracts the archive content to the current directory. you can check if your in /root using the following command
pwd
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With