【*nux命令】tar命令&&gzip命令

压缩,解压缩,打包,解包

命令参数

-x Extract to disk from the archive. If a file with the same name appears more than once in the archive, each copy will be extracted, with later copies overwriting (replacing) earlier copies.
-v Produce verbose output. In create and extract modes, tar will list each file name as it is read from or written to the archive. In list mode, tar will produce output similar to that of ls(1). Additional -v options will provide additional detail.
-f Read the archive from or write the archive to the specified file. The filename can be - for standard input or standard output.

使用功能

解包:tar xvf FileName.tar

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 13,562评论 5 6
  • 2017.1.11 学期的尾巴 新年的前奏 中国以南 有一个叫泰国的国家 陌生的国度 熟悉的语言 延机的苦闷一扫而...
    leeane阅读 265评论 0 0
  • 小叶紫檀佛珠是用小叶紫檀材料制成的佛珠,经过选料、开料、成圆、打孔、磨光、抛光,最后形成成品佛珠。常言十檀九空,最...
    林远腾博客阅读 374评论 0 0
  • 知识,生命阅历,在获得的途中,总有一段浩瀚中迷茫,激动中不平静的过程,世事有度。年少时,这种轻狂岁月是美的...
    7feer阅读 250评论 0 1
  • 秋叶舞动时 我想你 冬雪纷飞时 我想你 春草萌芽时 我想你 夏雨滂沱时 我想你
    未晞白露阅读 209评论 5 5