【1】压缩: zip -r myfile.zip /home/admin/myfile (单目录压缩) zip -r myfile.zip file1 file2 file3 /usr/work/school (多文件目录压缩) 把 file1、file2、 file3、以及 /usr/work/s ...
分类:
其他好文 时间:
2017-03-24 14:04:24
阅读次数:
186
phpredis 的github地址:https://github.com/nicolasff/phpredis第一步:切换到指定的目录,然后wget https://github.com/nicolasff/phpredis第二步:解压文件(unzip develop),进入文件(cd phpre ...
分类:
Web程序 时间:
2017-03-17 19:48:05
阅读次数:
156
基础包安装 yum install -y bind-utils traceroute wget man sudo ntp ntpdate screen patch make gcc gcc-c++ flex bison zip unzip ftp net-tools --skip-broken 安装 ...
分类:
编程语言 时间:
2017-03-16 18:54:07
阅读次数:
195
本文出自http://wushank.blog.51cto.com/3489095/1612042 一、python交互模式设置 Python 解释器具有简单的行编辑功能。 在 Unix 系统上,任何 Python 解释器都可能已经添加了 GNU readline 库支持,这样就具备了精巧的交互编辑 ...
分类:
编程语言 时间:
2017-03-14 21:15:02
阅读次数:
167
data.zip文件有4G多,解压的时候出问题了. Archive: data.zip End-of-central-directorysignature not found. Either thisfile is not a zipfile, or itconstitutes one disk o ...
分类:
系统相关 时间:
2017-03-08 22:17:12
阅读次数:
397
用 jar -xvf .jar 命令默认解压到当前目录,想要解压到指定目录 需要使用unzip .jar -d 目录 如: unzip pay.war -d /home/zookeeper1/test/pay 注意-d 是绝对路径 ...
分类:
编程语言 时间:
2017-03-08 19:04:16
阅读次数:
220
常用命令: 文件和目录: # cd /home 进入 '/home' 目录 # cd .. 返回上一级目录 # cd ../.. 返回上两级目录 # cd - 返回上次所在目录 # cp file1 file2 将file1复制为file2 # cp -a dir1 dir2 复制一个目录 # cp ...
分类:
其他好文 时间:
2017-03-08 00:29:24
阅读次数:
4525
zip:可以压缩多个文件或者目录,压缩后保留原始文件或者目录,后缀为.zip#yum-yinstallzip选项:-r:压缩目录-q:静默模式,执行时不显示任何信息-v:执行时显示详细的信息-1:compressfaster-9:compressbetter-T:检查zip文件完整性压缩文件test1.txt为test1.zip:#zip-qtes..
分类:
系统相关 时间:
2017-03-06 09:55:46
阅读次数:
294
我使用的比较靠谱的,也比较简单,其中archiver很强大,支持zip格式tar格式,只需要提供路径就可以压缩已存在的文件夹。 压缩: 解压: ...
分类:
Web程序 时间:
2017-03-02 11:22:31
阅读次数:
498
在玩ansible的过程中,使用win_unzip模块时powershell支持不了,需要安装PSCX对powershell进行扩展,随手记录下安装过程。 从官网下载的Pscx是一个zip压缩文件,解压后是一个名为“Pscx”的文件夹。 下载地址:http://pscx.codeplex.com/d ...
分类:
系统相关 时间:
2017-02-26 14:13:11
阅读次数:
379