zoukankan      html  css  js  c++  java
  • Linux bzip2命令详解

    Linux bzip/bunzip2命令是.bz2文件的解压缩程序。

    bunzip2可解压缩.bz2格式的压缩文件。bunzip2实际上是bzip2的符号连接,执行bunzip2与bzip2 -d的效果相同。

    bzip常见命令参数

    usage: bzip2 [flags and input files in any order]
    
    -h --help           print this message
    -d --decompress     force decompression
    -z --compress       force compression
    -k --keep           keep (don't delete) input files
    -f --force          overwrite existing output files
    -t --test           test compressed file integrity
    -c --stdout         output to standard out
    -q --quiet          suppress noncritical error messages
    -v --verbose        be verbose (a 2nd -v gives more)
    -L --license        display software version & license
    -V --version        display software version & license
    -s --small          use less memory (at most 2500k)
    -1 .. -9            set block size to 100k .. 900k
    --fast              alias for -1
    --best              alias for –9
    
    

    常用的命令展示

    压缩文件: bzip2 -k messages 
    
    解压文件: bunzip2 messages.bz2 
    

    image

  • 相关阅读:
    uva2965
    uva10755
    uva3695
    uva2678
    uva 11549
    stringstream使用笔记
    noip2016游记
    java学习(四)--- String 、StringBuffer、StringBuilder 和 数组
    java学习(三)--- 修饰符
    java学习(二)--- 变量类型
  • 原文地址:https://www.cnblogs.com/ftl1012/p/bzip2.html
Copyright © 2011-2022 走看看