linux 解压文件到指定的目录

unzip XXX.zip -d dirname

unzip test.zip -d /root/

tar -zxvf XXX.tar.gz  -C dirname

tar -zxvf ./text.tar.gz -C /home/app/test/

posted @ 2018-01-05 17:10  CJ.Lee  阅读(849)  评论(0编辑  收藏  举报