压缩工具有:zip、gzip、bzip2、xz归档工具有:tar、cpio一、压缩工具******zip1、压缩[root@node3tmp]#zipmessages.gzmessages
adding:messages(deflated86%)
[root@node3tmp]#ls-l
total420
-rw-------1rootroot376011Mar2623:14messages
-rw-r--r--1rootroot52512Mar2623:15m..
                            
                            
                                分类:
系统相关   时间:
2016-03-10 01:48:35   
                                阅读次数:
222
                             
                         
                    
                        
                            
                            
                                ? ~ sudo brew install python3 ==> Downloading https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tar.xz Already downloaded: /Library/Caches/Homebrew
                            
                            
                                分类:
编程语言   时间:
2016-03-08 21:17:19   
                                阅读次数:
183
                             
                         
                    
                        
                            
                            
                                场景:centos7.0下文件格式为xxx.tar.xz,解压和压缩命令: 压缩 tar -Jcf linux-3.10.0-123.13.1.el7.tar.xz(文件名) linux-3.10.0-123.13.1.el7/ 解压: tar -Jxf linux-3.10.0-123.13.1.
                            
                            
                                分类:
系统相关   时间:
2016-03-03 20:59:31   
                                阅读次数:
194
                             
                         
                    
                        
                            
                            
                                压缩格式: gz、bz2、xz、zip、z。 gzip: 作用 压缩文件。压缩完成后会删除源文件。 gzip /PATH/TO/SOMEFILE。 选项 -d:解压缩文件。 -num:1-9,指定压缩比。 gunzip: 作用 解压缩文件。解压缩完成后会删除压缩文件。 gunzip /PATH/TO
                            
                            
                                分类:
系统相关   时间:
2016-02-29 21:32:31   
                                阅读次数:
246
                             
                         
                    
                        
                            
                            
                                检查Linux服务器性能的关键十条命令 概述 通过执行以下命令,可以在1分钟内对系统资源使用情况有个大致的了解。 uptime dmesg | tail vmstat 1 mpstat -P ALL 1 pidstat 1 iostat -xz 1 free -m sar -n DEV 1 sar
                            
                            
                                分类:
系统相关   时间:
2016-02-29 12:31:19   
                                阅读次数:
240
                             
                         
                    
                        
                            
                            
                                1. 先编辑一个解压脚本ins.sh 1 #!/bin/bash 2 preline=10 3 line=`wc -l $0|awk '{print $1}'` 4 line=`expr $line - $preline` 5 tail -n $line $0 |tar xz -C ./ 6 #do
                            
                            
                                分类:
系统相关   时间:
2016-02-23 17:15:21   
                                阅读次数:
351
                             
                         
                    
                        
                            
                            
                                1>HelloWorldScene.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall LoginReqMessage::~LoginReqMessage(void)" (??1LoginReqMessage@@UAE@XZ)。该符号
                            
                            
                                分类:
其他好文   时间:
2016-02-22 22:16:26   
                                阅读次数:
273
                             
                         
                    
                        
                            
                            
                                1 2015.12.25/Fri 2 *************摘要************** 3 压缩和解压 zip gzip bzip2 xz 4 打包 tar 5 bash history alias Tab > >> < << 6 远程连接 ssh scp 7 8 9 10 11 压缩 1
                            
                            
                                分类:
数据库   时间:
2016-02-21 14:11:36   
                                阅读次数:
259
                             
                         
                    
                        
                            
                            
                                linux压缩、解压和归档1简介压缩格式gzbz2xzzipZ压缩算法:算法不同,压缩比也不相同压缩比:(压缩前的文件大小-压缩后的文件大小)/压缩前的文件大小文本文件压缩比大,图片视频比较小xz>bz2>gz2>Z#这个对于大文件生效,小文件未必常用的压缩解压工具:compress/uncom..
                            
                            
                                分类:
系统相关   时间:
2016-02-16 01:18:22   
                                阅读次数:
401
                             
                         
                    
                        
                            
                            
                                使用Apache Commons Compress实现压缩数据存取,支持格式有XZ,7z,tar,zip,jar,bzip2,gzip等。 例子在 https://commons.apache.org/compress/examples.html 而java se包含gzip功能。 InputStr
                            
                            
                                分类:
编程语言   时间:
2016-01-27 19:13:24   
                                阅读次数:
179