Why am I getting syntax error near unexpected token `(' when trying to unzip zen-cart-v1.5.3-(hotfix1)-07192014.zip
on my linux vps even when trying to change ownership and permissions. Is it not possible to unzip on command?
Printable View
Why am I getting syntax error near unexpected token `(' when trying to unzip zen-cart-v1.5.3-(hotfix1)-07192014.zip
on my linux vps even when trying to change ownership and permissions. Is it not possible to unzip on command?
Ok I worked it out, you need to put quotes around it.
unzip "zen-cart-v1.5.3-(hotfix1)-07192014.zip"
not unzip zen-cart-v1.5.3-(hotfix1)-07192014.zip
on Centos 6.5
Tip:
yum install mc
or
apt-get install mc
This will install the 'midnight commander' program. Once installed type 'mc' to run it. This makes file navigation zipping/unzipping files, etc, etc a breeze.
I've been using this for many years and is always the 1st thing I install on any linux distro (assuming it isn't installed by default).
Cheers
RodG
Thanks, I'll keep that in mind. I'm so used to tar files so quickly yum installed unzip which I like because it is so small but I can see how mc might come in handy for repository files with the interface.