15+ tar command usages with examples – Unix/Linux--referenc
发布时间:2021-01-23 22:43:02 所属栏目:Linux 来源:网络整理
导读: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 when we wa
|
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:,?,?,?,?,?,?,?,?,?,?,?,?,,? (编辑:百科站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- filesystems – rsync在不同文件系统之间复制未修改的文件
- pthreads:以编程方式收集有关在不同状态上花费的时间的信息
- linux – 如何确定glibc(glibcxx)二进制版的版本将取决于?
- linux – 当两个驱动器都被更大的驱动器替换时,dell perc 6
- 一篇了解Linux 发行版 Manjaro,yyds!
- linux – 更改默认网关,多个NIC
- linux – 如何获取youtube视频的URL以进行下载?
- 在我的程序中使用OpenBSD的malloc,realloc和free
- linux – PostgreSQL高性能安装程序
- linux – 修补和编译Ext4作为内核模块
站长推荐
- NMAP - A Stealth Port Scanner--reference
- linux – 什么比这更快?通过nfs-mount或通过scp
- linux – 为什么在配置文件中接受认证文件而不在
- linux – 定期运行Chef / Puppet的优缺点是什么?
- Linux Shell脚本Ldd命令原理及使用方法介绍
- SELinux安全上下文的修改和操作chcon和restoreco
- 详解Unix和Linux操作系统中Cron的用法总结
- linux – Secondary IP(eth0:0)就像主服务器IP一
- python – ImportError:没有名为’pysqlite2’的
- 命令行 – cURL命令失败


