zoukankan      html  css  js  c++  java
  • Linux tar command usage

    Linux tar command usage

    Linux tar command usage

    The frequently used tar command are listed as follows:

    1 Create an archive:

    tar -cvf archive.tar files_to_add/folder_to_add

    the corresponding extract command:

    tar -xvf archive.tar

    2 Create a gzipped archive:

    tar -cvzf archive.tar.gz files_to_add/folder_to_add

    The corresponding extract command:

    tar -xvfz archive.tar.gz

    3 List the files in an archive

    tar -tvf archive.tar

    or

    tar -tvfz archive.tar.gz

    4 Add a file or directory to an existing archive

    tar -rvf archive.tar files_to_add

    Author: wujing

    Created: 2014-04-30 三 09:21

    Emacs 24.3.1 (Org mode 8.2.6)

    Validate

  • 相关阅读:
    layui + mvc + ajax 导出Excel功能
    PL/SQL Developer工具包和InstantClient连接Oracle 11g数据库
    .NET中JSON的序列化和反序列化的几种方式
    C# 编程中的堆栈(Stack)和队列(Queue)
    Oracle 数据库常用操作语句大全
    C#方法中参数ref和out的解析
    JS实现限行
    ajax+ashx 完美实现input file上传文件
    HTML5 学习
    Linux文件和目录操作管理命令
  • 原文地址:https://www.cnblogs.com/wujingcqu/p/3700584.html
Copyright © 2011-2022 走看看