| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 2100 人关注过本帖
标题:请教一个关于tar命令的问题
取消只看楼主 加入收藏
winglesswu
Rank: 1
等 级:新手上路
帖 子:92
专家分:0
注 册:2013-1-28
结帖率:71.88%
收藏
已结贴  问题点数:8 回复次数:0 
请教一个关于tar命令的问题
-- sample_dir

    |-- cambridge

    |   `-- security

    |       |-- annex

    |       `-- parking

    |-- history.exe

    |-- markham

    |   |-- annex

    |   |-- building1

    |   `-- parking

    `-- stenton

        |-- admin

        |   `-- accounting

        |       `-- payroll

        |-- gen_ed

        |   `-- Holidays

        `-- lib_arts

            `-- english.txt
上面是目录示意图,问题:

Your current directory is sample_dir. Create a compressed archive of the stenton directory and it's contents, called stenton.tar.gz, and place it in the sample_dir directory. Use a non-verbose tar command with a single option string, including the option to invoke gzip:
你当前目录是sample_dir, 在当前目录下新建一个stenton目录及其内容的压缩文件,文件名为stenton.tar.gz,只能用tar命令简单参数,包括一个支持gzip的参数。
请大家指教,谢谢。
搜索更多相关主题的帖子: current security accounting 
2013-03-15 01:34
快速回复:请教一个关于tar命令的问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.011687 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved