加入收藏 | 设为首页 | 会员中心 | 我要投稿 应用网_丽江站长网 (http://www.0888zz.com/)- 科技、建站、数据工具、云上网络、机器学习!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

15+ tar command usages with examples – Unix/Linux--referenc

发布时间:2021-01-24 06:18:20 所属栏目:Linux 来源:网络整理
导读:副标题#e# reference :http://crybit.com/tar-command-usages-with-examples/ The ‘tar’ saves many files together into a single tape or disk archive,and can restore individual files from the archive. It is very useful in such conditions like

Example:

[root@localhost TAR]# tar -zcf file.tar.gz file2.txt file1.txt
[root@localhost TAR]# ll
total 132
-rw-r--r--. 1 root root 23250 Feb  7 23:11 file1.txt
-rw-r--r--. 1 root root   887 Feb  7 22:38 file2.txt
-rw-r--r--. 1 root root 30720 Feb  7 23:30 file.tar
-rw-r--r--. 1 root root  1797 Feb  7 23:42 file.tar.bz
-rw-r--r--. 1 root root  1673 Feb  7 23:45 file.tar.gz

That’s it!!?

:-)

Other useful commands:,?,?,?,?,?,?,?,?,?,?,?,?,,?

(编辑:应用网_丽江站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

热点阅读