User Tools

Site Tools


linux:basics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
linux:basics [2019/08/14 11:30]
mstraub [Date & Time]
linux:basics [2019/09/03 09:46]
mstraub [Compressing files]
Line 481: Line 481:
  
 ==== Compressing files ==== ==== Compressing files ====
-For compressig ​files the zip formats gzip (.gz) and bzip2 (.bz2) are commonly used - especially ​the former.+For compressing ​files the zip formats gzip (.gz)bzip2 (.bz2) and xz (.xz, which uses LZMA compression) are commonly used.  
 + 
 +Gzip is the most commonly used one, but according to [[https://​www.rootusers.com/​gzip-vs-bzip2-vs-xz-performance-comparison|this in-depth comparison]] .xz is the superior format - it is fast to decompress, achieves high compression rates and also has reasonable compression times until level 2 or 3. 
 <code bash> <code bash>
 gzip my.txt ​                         # creates the gzipped file my.txt.gz and remove my.txt gzip my.txt ​                         # creates the gzipped file my.txt.gz and remove my.txt
linux/basics.txt · Last modified: 2020/12/21 09:51 by mstraub