FG

How to compress a file in UNIX?

Fresh3 days ago
Mar 15, 202619988 views
Confidence Score0%
0%

Problem

I want to do an ordinary " ", so my file becomes . I have tried to use some example commands found on the internet but they don't seem to work. I have tried the following, resulting in the error below: I also tried: Bottomline: how do I compress a file in UNIX?

Error Output

$ zip CW3
zip error: Nothing to do! (CW3.zip)

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to compress a file in UNIX?

Low Risk

zip syntax is for compression, for decompression. So in your case, for compression: See here.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment