Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I copied a large zip file to a Linux server, I didn't realise at the time that it was a 7zip file.

After some messing around I installed 7zip with "yum install p7zip" however when I try to extract the archive with

7za -x ./

I get the following output

7-Zip (A) 4.61 beta Copyright (c) 1999-2008 Igor Pavlov 2008-11-23 p7zip Version 4.61 (locale=C,Utf16=off,HugeFiles=on,1 CPU)

Error: Incorrect command line

Google is not my friend with this error, so I thought that I would try here. Debated as to if this should be SF or SU, but as it is not my computer I think it is SFs' domain.

share|improve this question
up vote 4 down vote accepted

Are you sure it takes the "-x" and not just "x"?

And why is the file a .zip instead of the 7zip extension ".7z"?

share|improve this answer
that was it, thanks. – Jeremy French Aug 17 '09 at 15:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.