问题库 Linux / Docker how-to

Linux 如何解压 zip 文件

快速答案

安装 unzip 后使用 unzip file.zip -d target。

bash
sudo apt install unzip
unzip dist.zip -d ./dist

使用要点

  • 先执行只读命令确认现象,再决定是否修改配置。
  • 线上执行前保存当前输出,便于回滚和对比。

相关内容