Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Oct 262010

Compress and decompress file using 7zip


7zip is a well known compression program if you need a very small file size, i.e. high compression ratio.

To install under Ubuntu/Debian:

# sudo apt-get install p7zip

To compress a file

# p7zip test.txt

To decompress a file

# p7zip -d test.txt.7z

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>