Compress/Extract files with Linux command lines

This blog will be updated frequently to give you as many as possible way to work with compressed files in Linux.

A- Compress

B- Extract

1 – .7z

tientham@tientham:/tmp$ sudo apt-get install p7zip-full

tientham@tientham:/tmp$ 7z x /home/tientham/Downloads/tito.7z

7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)

Processing archive: /home/tientham/Downloads/tito.7z

Enter password (will not be echoed) :

Everything is Ok

Folders: 17
Files: 149
Size: 5196470
Compressed: 2012230

2 – .

 

 

Image source: https://unsplash.com/photos/pjJdOE2XBRU

About: tientham

Software Engineer, SW Integrator & Mobile , Full Stack Developer


4 thoughts on “Compress/Extract files with Linux command lines”

Leave a Reply

Your email address will not be published. Required fields are marked *