linux命令rar解压缩文件
1、下载
wget https://www.rarlab.com/rar/rarbsd-6.0.b1.tar.gz (注:如当前网址不能使用,请在以下网址下载) 链接:https://pan.baidu.com/s/1WI3zIOtC5ESakp4Lz6QMqA 提取码:niao
2、安装
[root@qunniao ~]# tar -xf rarlinux-x64-6.0.b1.tar.gz
[root@qunniao ~]# cd rar
[root@qunniao rar]# make install
3、压缩文件
语法:rar a <压缩包名> <拟压缩的目录或文件>
[root@qunniao ~]# rar a tmp.rar /tmp (注:参数a前边没有-)
4、解压
语法:rar x <压缩包名>
[root@qunniao ~]# rar x tmp.rar
温馨提示:如无特殊说明,本站文章均为作者原创,转载请注明出处!