How to unzip a zip file to a specific folder in Linux?

To extract a zip file to a specific folder in Linux, you can use the unzip command.

Here is the command format for extracting a zip file to a specific folder:

unzip zip文件名.zip -d 目标文件夹

The zip file name.zip is the name of the zip file to be extracted, and the destination folder is where the files will be extracted to.

For example, to extract the example.zip file into a folder called target, you can use the following command:

unzip example.zip -d target
广告
Closing in 10 seconds
bannerAds