下载

0下载券

加入VIP
  • 专属下载券
  • 上传内容扩展
  • 资料优先审核
  • 免费资料无限下载

上传资料

关闭

关闭

关闭

封号提示

内容

首页 linux下 tar解压 gz解压 bz2等各种解压文件使用方法(Linux under tar…

linux下 tar解压 gz解压 bz2等各种解压文件使用方法(Linux under tar decompression, GZ decompression, bz2 and other decompression files using methods).doc

linux下 tar解压 gz解压 bz2等各种解压文件使用方…

hungry146
2018-02-05 0人阅读 举报 0 0 0 暂无简介

简介:本文档为《linux下 tar解压 gz解压 bz2等各种解压文件使用方法(Linux under tar decompression, GZ decompression, bz2 and other decompression files using methods)doc》,可适用于社会民生领域

linux下tar解压gz解压bz等各种解压文件使用方法(Linuxundertardecompression,GZdecompression,bzandotherdecompressionfilesusingmethods)linux下tar解压gz解压bz等各种解压文件使用方法(Linuxundertardecompression,GZdecompression,bzandotherdecompressionfilesusingmethods)Linuxundertardecompression,GZdecompression,bzandotherdecompressionfilesusingmethodstarUnpackthexvfFileNametar:TarPacking:TarCVFFileNametarDirName(Note:tarispacked,notcompressed!)gzDecompress:gunzipFileNamegzDecompress:gzipdFileNamegzCompression:gzipFileNametargzandTgzDecompression:tarzxvfFileNametargzCompression:tarzcvfFileNametargzDirNamebzDecompress:bzipdFileNamebzDecompress:bunzipFileNamebzCompression:bzipzFileNametarbzDecompression:tarjxvfFileNametarbzortarbzipxvfFileNametarbzCompression:tarjcvfFileNametarbzDirNamebzDecompress:bzipdFileNamebzDecompress:bunzipFileNamebzCompression:unknowntarbzDecompression:tarjxvfFileNametarbzCompression:unknownZDecompression:uncompressFileNameZCompression:compressFileNametarZDecompression:tarZxvfFileNametarZCompression:tarZcvfFileNametarZDirNamezipDecompression:unzipFileNamezipCompression:zipFileNamezipDirNameTocompressadirectory,usetherparameter,rrecursionExample:$ziprFileNamezipDirNamerarDecompression:rarxFileNamerarCompression:raraFileNamerarDirNameRargoto:!Afterdecompression,copytherarstatictotheusrbindirectory(otherdirectoriesspecifiedbythe$PATHenvironmentvariable):rootwwwtmp#CPrarstaticusrbinrarlhaDecompression:LHAeFileNamelhaCompression:LHAaFileNamelhaFileNameLHAgoto:~ishiilhaunixdownload!Afterdecompression,copytheLHAtotheusrbindirectory(otherdirectoriesspecifiedbythe$PATHenvironmentvariable):rootwwwtmp#CPLHAusrbinrpmRpmcpio:FileNamerpmCPIOdiv|unpackdebArPFileNamedebdatatargz|unpacked:tarzxftarTgzTargzTarZTarbzTarbzZipCpioRpmSeaDebSlpArjRarAceLhaLzhLzxLzsArcSdaSfxLnxZooCabKarCptPitSitDecompression:sExxFileName*Compression:sExaFileName*FileNameSExjustcallstherelevantprogram,itselfhasnocompression,decompressionfunction,pleasenote!SExgoto:!Afterdecompression,copythesExtotheusrbindirectory(otherdirectoriesspecifiedbythe$PATHenvironmentvariable):rootwwwtmp#CPsExusrbinCommonfiledecompressionmethodsandcommandsunderLinuxSystemandSystemfilewithAasextension:#tarXVfileafilewithZasextension:#uncompressfileZfilewithGzasextension:#gunzipfilegzfilewithBzasextension:#bunzipfilebzfilewithTarZasextension:#tarxvZffiletarZdcor#compressfiletarZtarxvf|filewithTargztgzasextension:#tarxvzffiletargzdcorgzipfiletargztarxvf|filewithTarbzasextension:#tarxvIffiletarbzdcfiletarbzorbzipxvf|filewithCpiogzcgzasextension:#gzipdcfilecgzCPIOdiv|filewithCpiocpioasextension:#cpiodivfilecpioOrCPIOdivcfilecpiofileinstallationwithRpmasextension:#rpmifilerpmfiledecompressionwithRpmasextension:#rpmcpiofilerpmCPIOdiv|fileinstallationwithDebasextension:#dpkgifiledebfiledecompressionwithDebasextension:#dpkgdebfsystarfilefiledebtarxvfARP|Filedebdatatargztarxvzf|filewithZipasextension:#unzipfilezipDecompressWinzipfileinLinuxIfyouinstallJDK,youcanusethejarcommandyoucanalsousetheunzipcommandDirectdecompressionofTargzfilesXxxxtargzfileusingtarwithzxvfparameters,youcanunpackonceXXXXisthefilenameForexample:$tarzxvfxxxxtargzdecompressionofvariouscompressedfiles(installationmethod)Fileextensiondecompression(installationmethod)aarXVfileaZuncompressfileZgzgunzipfilegzbzbunzipfilebztarZtarxvZffiletarZCompressdcfiletarZtarxvf|targztgztarxvzffiletargzGzipdcfiletargztarxvf|tarbztarxvIffiletarbzBzipdcfiletarbzxvf|cpiogzcgzgzipdcfilecgzCPIOdiv|cpiocpioCPIOdivfilecpioCPIOdivcfilecpiorpminstallrpmifilerpmrpmextractrpmcpiofilerpmCPIOdiv|debinstalldpkgifiledebdebexrtactdpkgdebfsystarfilefiledebtarxvf|ArPfiledebdatatargztarxvzf|zipunzipfilezipBzipdmyfiletarbztarxvf|TarxvfzmyfiletarbzXisdecompressionVisacomplexoutputFisthespecifiedfileZGZformatGzipGzipoptionscompressordecompressfilenamescwritestheoutputtothestandardoutputandretainstheoriginalfileCompressionofcompressedfilesbydldisplaysthefollowingfieldsforeachcompressedfile:thesizeofthecompressedfile,thesizeoftheuncompressedfile,thecompressionratio,andthenameoftheuncompressedfilerrecursivelyfindsthespecifieddirectoryandcompressesorcompressesallthefilesinitttestcompressionfileispositiveandcompletevforeachcompressionanddecompressionofthefile,displayitsfilenameandcompressionrationumadjuststhespeedofcompressionwiththespecifiednumberGiveanexample:Makeabackupofallthefilesintheusrdirectory,includingitssubdirectories,andbackupthefilenamedusrtarTarCVFusrtarhomeMakeabackupandcompressallthefilesintheusrdirectoryanditssubdirectories,andbackupthefilenameisusrtargzTarczvfusrtargzusrCompressagroupoffiles,thesuffixofthefileistargz#tarCVFbacktarback#gzipqbacktarOr#tarcvfzbacktargzbackReleaseafilewithsuffixtargz#tarzxvfbacktargz#gzipbacktargz#tarxvfbacktarCategory:Linux||addedtothecollection|sharetoIPostBar|browse()|comments()

用户评价(0)

关闭

新课改视野下建构高中语文教学实验成果报告(32KB)

抱歉,积分不足下载失败,请稍后再试!

提示

试读已结束,如需要继续阅读或者下载,敬请购买!

评分:

/8

VIP

在线
客服

免费
邮箱

爱问共享资料服务号

扫描关注领取更多福利