centos解压_centos解压rar
Linux中压缩与解压缩:
1、首先启动CentOS系统,进入到桌面,[root@iZ259r7h4pfZ ~]# mkdir /home/shiyanlou
centos解压_centos解压rar
centos解压_centos解压rar
[root@iZ259r7h4pfZ ~]# tar cjf test.tar.bz2 test
[root@iZ259r7h4pfZ ~]# ll /home/shiyanlou/;
total-rw-r--r-- 1 root root 13 Dec 15 15:42 test 0
[root@iZ259r7h4pfZ ~]# tar xvf test.tar.bz2 -C /home/shiyanlou/
test
[root@iZ259r7h4pfZ ~]# ll /hom7、进入到解压得到的目录中.e/shiyanlou/
[root@iZ259r7h4pfZ ~]# touch test1
[root@iZ259r7h4pfZ ~]# zip test1.zip test1
adding: test1 (stored 0%)
[root@iZ259r7h4pfZ ~]# unzip test1.zip -d /home/shiyanlou/
Archive: test1.zip
extracting: /home/shiyanlou/test1
[root@iZ259r7h4pfZ ~]# ll /home/shiyanlou/
linux解压不了rar
8、执行安装.这是因为没有unrar这个软件包,所以不能解压rar,装一个就行了。redhat/centos系列:在网上搜一个rarlinux的包,传到os里面安装
语法:lzip -d file.lzdebian/Ubuntu系列,配置好本地源或者网络源后,直接用apt-get install unrar就应该是你的命令错了 能unzip就肯定可以zip可以
linux VPS, centos系统,安装的是lnmp,能够用unzip解压文件,却不能够用zip压缩文件,为什么?
-bash: lzip: command not found命令应该是
10、重启使VMWare Tools生效.zip xxxx[root@iZ259r7h4pfZ ~]# touch test.zip 你要打包的目录
gzip试试,其实在linux里面很少有人会用zip打包,一般都用tar来打包或解包,然后会用gzip或bzip来压缩。
是一个包,但正常默认应该是已经安装了,可能什么原因没有装上或卸载了吧,如安装时刚好这个包坏了装不上。
如何给CentOS7 安装Vmware Tools
9、之后只需要一路按【Enter】回车键即可,当然如果你理解每个选项的功能,也可以自定义,不过一般默认即可,当看到如下图字符显示时,表示安装完成:2、单击VMWare的【虚拟机】菜单,选择【安装VMWare Tools】命令,所以:
11、你可以在物理机系统和虚拟机系统之间执行文字、拖拽文件等作了3、接着CentOS系统会自动挂载VMWare Tools,并自动打开,
4、把其中的tar.gz包到桌面,
6、解压tatotal 4r.gz包.
执行解压命令【tar -xzv -f VMwareTools-9.6.2-1688356.tar.gz】,文件名较长,为防止输入错误,用【Tab】键自动补全,
执行命令【cd vmware-tools-distrib/ 】,
执行安装命令【sudo ./vmware-install.pl】,
执行重启命令【sudo shutdown -r now】,
如何在Linux下解压tar.lz文件
5、在桌面上右击单击,选择【Open in Terminal】“在终端中打开”,该格式需要使用Lzip或Lunzip解压,CentOS 6.5默认不安装此程序。
-rw-r--r-- 1 root root 13 Dec 15 15:42 test[root@localhost opt]# -rw-r--r-- 1 root root 0 Dec 15 15:43 test1lzip
[root@localhost opt]# lunzip
-bash: lunzip: command not found
[root@localhost opt]#
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系 836084111@qq.com 删除。