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

  • 相关阅读:
    【新提醒】N820 N821 android 4.2 V1.1版
    Silk Icons —— 再来 700 个免费小图标
    解决基于BAE python+bottle开发上的一系列问题
    gae 已死,别整什么反向代理了,用sae吧,还有在线编辑工具
    MDCC为移动开发者服务:一看、一聊、一聚
    Testin_百度百科
    我们的开源项目-暨开源力量公开课年度庆典活动
    Kivy: Crossplatform Framework for NUI
    进京通行证_百度百科
    史丹·温斯坦称傲牛熊市的秘密_百度百科
  • 原文地址:https://www.cnblogs.com/wujingcqu/p/3700584.html
Copyright © 2011-2022 走看看