Skip to content

Commit

Permalink
doc: Update linux-command.md (#807)
Browse files Browse the repository at this point in the history
add zip/unzip commands
  • Loading branch information
Country-If authored Jul 27, 2024
1 parent 8c8b721 commit a3d3d4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/linux-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ Linux 命令速查表
**`tar -xf files.tar`** | 解压档案文件"files.tar"
**`tar -zcvf home.tar.gz source-folder`** | 从源文件夹创建压缩的tar存档文件
**`gzip file`** | 压缩扩展名为.gz的文件
**`zip -r compressed.zip folder/`** | 递归压缩目录`folder`为压缩文件`compressed.zip`
**`unzip compressed.zip -d folder/`** | 在目录`folder`下解压文件
**`unzip -v compressed.zip`** | 查看但不解压文件
<!--rehype:className=style-list-->

### 搜索
Expand Down

0 comments on commit a3d3d4b

Please sign in to comment.