????bzip2: Input file 11 is a directory.
????zip??unzip
????zip???????windows??linux?3???????????zip?????????????????????????????????????????μ??????
[root@bogon wang]# zip test.zip test            //zip???????????zip????????????????????????.zip??β?????
adding: test (stored 0%)
[root@bogon wang]# ls                   //????????????test.zip???????????test????????
11  test  test.zip
[root@bogon wang]# unzip test.zip        //????????????unzip???????????-d???
Archive:  test.zip
replace test? [y]es?? [n]o?? [A]ll?? [N]one?? [r]ename: y      //????????????????????????????????????
extracting: test
[root@bogon wang]# ls                           //???????????
11  test  test.zip
??????zip???????????
[root@bogon wang]# tree 22                      //????22??????
22
?????? 33
?????? test
1 directory?? 1 file
[root@bogon wang]# zip -r 22.zip 22         //zip??????????????-r???-r????????????????????????????
updating: 22/ (stored 0%)
updating: 22/test (stored 0%)
updating: 22/33/ (stored 0%)
[root@bogon wang]# ls
22  22.zip
[root@bogon wang]# unzip 22.zip        //??????????????????????????unzip?????
Archive:  22.zip
replace 22/test? [y]es?? [n]o?? [A]ll?? [N]one?? [r]ename: y     //?????????
extracting: 22/test
[root@bogon wang]# ls
22  22.zip
????xz???????
[root@bogon wang]# ls
test
[root@bogon wang]# xz test                 //xz???????????
[root@bogon wang]# ls            //xz????????????
test.xz
[root@bogon wang]# xzcat test.xz  //??xzcat????????????е?????
222
[root@bogon wang]# xz -d test.xz  //??-d?????????????
[root@bogon wang]# ls
test
/?????????????У????zip?????????