CS155: Introduction to Unix

Spring 2018

Archives

See this page as a slide show

Archival & Compression Commands

CS155 Archives

Archival and Compression: gzip, bzip2

Compression Examples

% cp ~/pub/domains.txt .
% ls -l
total 8
-r-------- 1 cs155 class 4520 Dec 22 02:18 domains.txt
% gzip domains.txt
% ls -l
total 4
-r-------- 1 cs155 class 2530 Dec 22 02:18 domains.txt.gz
% gunzip domains.txt.gz
% bzip2 domains.txt
% ls -l
total 4
-r-------- 1 cs155 class 2481 Dec 22 02:18 domains.txt.bz2

Archival and Compression: tar

Archival and Compression: tar

tar: Usage

tar: Examples

Archival with Compression

Using tar, we can filter archives through a compression program.

zip: Usage

zip: Examples

User: Guest

Check: HTML CSS
Edit History Source

Modified: 2017-12-20T16:04

Apply to CSU | Contact CSU | Disclaimer | Equal Opportunity
Colorado State University, Fort Collins, CO 80523 USA
© 2018 Colorado State University
CS Building