欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Linux中的bz2壓縮格式的實例詳解

 更新時間:2017年08月30日 10:01:41   作者:cakin24  
這篇文章主要介紹了Linux中的bz2壓縮格式的實例詳解的相關(guān)資料,希望通過本文大家能理解掌握這部分內(nèi)容,需要的朋友可以參考下

Linux中的bz2壓縮格式的實例詳解

一 語法

bzip2 源文件
壓縮為bz2格式,不保存源文件
bzip2 -k 源文件
壓縮之后保留原文件
注意:bzip2命令不能壓縮目錄
bzip2 -d 壓縮文件
解壓縮,-k保留壓縮文件
bunzip2 壓縮文件
解壓縮,-k保留壓縮文件

 二 實戰(zhàn)

[root@localhost test]# ls
abc cdf dirtst
[root@localhost test]# bzip2 abc
[root@localhost test]# ls
abc.bz2 cdf dirtst
[root@localhost test]# bzip2 -k cdf
[root@localhost test]# ls
abc.bz2 cdf cdf.bz2 dirtst
[root@localhost test]# bzip2 -d abc.bz2
[root@localhost test]# ls
abc cdf cdf.bz2 dirtst
[root@localhost test]# rm -fr cdf
[root@localhost test]# ls
abc cdf.bz2 dirtst
[root@localhost test]# bunzip2 cdf.bz2
[root@localhost test]# ls
abc cdf dirtst

以上就是Linux中的bz2壓縮格式的實例詳解,如有疑問請留言或者到本站社區(qū)交流討論,感謝閱讀,希望能幫助到大家,謝謝大家對本站的支持!

相關(guān)文章

最新評論