????1. linux zip????
???????
????zip -r filename.zip ./*                  // ????????μ??????????????????????? filename.zip???
??????r??????????????????????
???????
????unzip -d test filename.zip            // ??filename.zip???????? ./test
????-d:-d test ???????????????./test???£?
????2. linux tar????
????-c: ???????????
????-x: ???
????-t: ??????
????-j: ???bzip2???????????/??????????????*.tar.bz2
????-z: ???gzip???????????/??????????????*.tar.gz
????-f filename:??????????????????
????-C dirname: ??dirname??????
???????
????tar –cvf filename.tar *    //??????????????????filename.tar
????tar –zcf filename.tar.gz *    //??????????????????filename.tar???????????gzip????????????gzip???????????????filename.tar.gz
????tar –jcf filename.tar.bz2 *   //??????????????????filename.tar???????????bzip2????????????bzip2???????????????filename.tar.bz2
????tar –Zcf filename.tar.Z *     //??????????????????filename.tar???????????compress????????????umcompress???????????????filename.tar.Z
???????
????tar –xvf filename.tar   //??? tar??
????tar -zxvf filename.tar.gz   //???tar.gz
????tar -jxvf filename.tar.bz2   //??? tar.bz2
????tar -Zxvf filename.tar.Z   //???tar.Z
????3. linux rar????
???????linux?′???.rar???????????RAR for Linux
????yum install rar
???????
????rar a filename *    //?????е????????????rar???????filename.rar
???????
????unrar e filename.rar  test  // ??filename.rar?е?????????????./test