美文网首页
【*nux命令】tar命令&&gzip命令

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

作者: 清水芦苇 | 来源:发表于2017-08-17 15:45 被阅读0次

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

    命令参数

    -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

    相关文章

      网友评论

          本文标题:【*nux命令】tar命令&&gzip命令

          本文链接:https://www.haomeiwen.com/subject/xtbgrxtx.html