linux解压命令


 gzip 不能压缩目录、gunzip
tar -I或者bunzip2命令都可以解压.bz2文件

tar xvfj example.tar.bz2

tar xvfz example.tar.gz

tar xvfz example.tgz

tar xvf example.tar

unzip example.zip

tar -jvxf some.bz,就是把tar的zvxf 改成jvxf

zip/tar rh8下有一个图形界面的软件file-roller可以做这件事。另外可以用unzip *.zip解开zip文件,unrar *.rar解开rar文件,不过unrar一般系统不自带,要到网上下载。

# rpm2cpio example.rpm │ cpio -div

# ar p example.deb data.tar.gz | tar zxf -

bunzip2   filename 解压.bz的文件

Alien提供了.tgz, .rpm, .slp和.deb等压缩格式之间的相互转换: sourceforge.net/projects/alien sEx提供了几乎所有可见的压缩格式的解压接口:sourceforge.net/projects/sex 0058 在多级目录中查找某个文件的方法(青海湖)

find /dir -name filename.ext

du -a | grep filename.ext

locate filename.ext

 
     Directions
            1. Unzip the file: gunzip
            2. Extract the file: cpio -idmv <
            3. Installation guides and general Oracle Database 10g documentation can be found here.
            4. Review the certification matrix for this product here.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10979521/viewspace-440368/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10979521/viewspace-440368/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值