当前位置: 首页 > news >正文

整个网站全部乱码/免费网站电视剧全免费

整个网站全部乱码,免费网站电视剧全免费,太原seo快速排名怎么样,做服装行业网站centos安装compress压缩工具 压缩后的档案可以以 uncompress 解压。若要将数个档案压成一个压缩档,必须先将档案 tar 起来再压缩。由于 gzip 可以产生更理想的压缩比例,一般人多已改用 gzip 为档案压缩工具。 安装compress [rootlocalhost ~]# yum -y…

centos安装compress压缩工具

压缩后的档案可以以 uncompress 解压。若要将数个档案压成一个压缩档,必须先将档案 tar 起来再压缩。由于 gzip 可以产生更理想的压缩比例,一般人多已改用 gzip 为档案压缩工具。

安装compress

[root@localhost ~]# yum -y install ncompress
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package ncompress.x86_64 0:4.2.4.4-3.1.el7_8 will be installed
--> Finished Dependency ResolutionDependencies Resolved============================================================================Package          Arch          Version                   Repository   Size
============================================================================
Installing:ncompress        x86_64        4.2.4.4-3.1.el7_8         base         27 kTransaction Summary
============================================================================
Install  1 PackageTotal download size: 27 k
Installed size: 35 k
Downloading packages:
ncompress-4.2.4.4-3.1.el7_8.x86_64.rpm                 |  27 kB   00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transactionInstalling : ncompress-4.2.4.4-3.1.el7_8.x86_64                       1/1 Verifying  : ncompress-4.2.4.4-3.1.el7_8.x86_64                       1/1 Installed:ncompress.x86_64 0:4.2.4.4-3.1.el7_8                                      Complete!
[root@localhost ~]# compress -V                           #查看安装版本
ompress version: (N)compress 4.2.4.4, compiled: Tue Jun 23 15:37:14 UTC 2020
Compile options:FAST, DIRENT, REGISTERS=20 IBUFSIZ=8192, OBUFSIZ=1024, BITS=16Author version 4.2 (Speed improvement & source cleanup):Peter Jannesen  (peter@ncs.nl)Author version 4.1 (Added recursive directory compress):Dave Mack  (csu@alembic.acs.com)Authors version 4.0 (World release in 1985):Spencer W. Thomas, Jim McKie, Steve Davies,Ken Turkowski, James A. Woods, Joe Orost
[root@localhost ~]# compress -h
Unknown flag: 'h'; Usage: compress [-dfvcVr] [-b maxbits] [file ...]-d   If given, decompression is done instead.-c   Write output on stdout, don't remove original.-b   Parameter limits the max number of bits/code.-f   Forces output file to be generated, even if one already.exists, and even if no space is saved by compressing.If -f is not used, the user will be prompted if stdin is.a tty, otherwise, the output file will not be overwritten.-v   Write compression statistics.-V   Output vesion and compile options.-r   Recursive. If a filename is a directory, descendinto it and compress everything in it.

使用参数:

  • c 输出结果至标准输出设备(一般指荧幕)
  • f 强迫写入档案,若目的档已经存在,则会被覆盖 (force)
  • v 将程序执行的讯息印在荧幕上 (verbose)
  • b 设定共同字串数的上限,以位元计算,可以设定的值为 9 至 16 bits 。由于值越大,能使用的共同字串就 越多,压缩比例就越大,所以一般使用预设值 16 bits (bits)
  • d 将压缩档解压缩
  • V 列出版本讯息
  • r 递归压缩目录下所有文件

压缩文件

a.txt压缩为a.txt.Z文件

[root@localhost ~]# ls
a.txt
[root@localhost ~]# compress -f a.txt 
[root@localhost ~]# ls
a.txt.Z

解压文件

将刚压缩的文件解压

[root@localhost ~]# ls
a.txt.Z
[root@localhost ~]# compress -d a.txt.Z 
[root@localhost ~]# ls
a.txt

压缩目录下的文件

强制递归压缩目录使用-r递归-f压缩文件

[root@localhost ~]# ls
a.txt
[root@localhost ~]# compress -rf /root/a.txt 
[root@localhost ~]# ls
a.txt.Z
http://www.lbrq.cn/news/1415863.html

相关文章:

  • 做公考题的网站/微博关键词排名优化
  • 山西省住房和城乡建设委员会网站/sem竞价
  • 网页设计建站/百度竞价推广自己可以做吗
  • 专门做恐怖电影的网站/chatgpt网址
  • 做兼职的网站贴吧/旺道智能seo系统
  • 备案 网站错了/长沙seo代理商
  • wordpress 外贸网站/seo优化方案策划书
  • 电子商务网站建设与维护实训题库/杭州专业seo服务公司
  • 黄冈seo推广优势/广州百度推广优化排名
  • 智慧团建网站登陆平台/今日大新闻
  • 政府网站建设排名/西安seo外包
  • 做网站 域名不属于/免费注册二级域名的网站
  • 网站优化的好处/网络广告推广方案
  • 建个企业网站还是开个淘宝店/怎么建个网站
  • 品牌做网站还是app/关键词排名点击软件推荐
  • 网站制作公司都还赚钱吗/seo报告
  • wordpress 显示分类/关键词排名优化公司外包
  • 哪个网站可以接项目做/如何建立公司网站网页
  • 长沙网站建设/优化seo公司哪家好
  • 做问卷用哪个网站/深圳竞价托管
  • 电子商务网站购物车怎么做/班级优化大师怎么加入班级
  • 如何策划手机网站/h5下一页
  • wordpress 艺术 主题 2018/seo优化是做什么的
  • 杭州网站设计工作室/windows优化大师手机版
  • 学校建设网站前的市场分析/河南百度seo
  • dedecms做图库网站/广告软文怎么写
  • wordpress4.0安装教程/优化设计方法
  • 自做网站图片版权/太原seo建站
  • 网站建设和执纪监督/怎么在百度上发布自己的信息
  • 工业网站建设/深圳营销型网站
  • 48.Seata认识、部署TC服务、微服务集成
  • C语言网络编程TCP通信实战:客户端↔服务器双向键盘互动全流程解析
  • OpenCV 图像处理核心技术:边界填充、算术运算与滤波处理实战
  • Linux 服务:iSCSI 存储服务配置全流程指南
  • Fixture Caliper 工具
  • 从盲区到全域:黎阳之光视频孪生+AI智能算法驱动智慧机场三维感知革命