extracting contents of a zip file in unix directory code example Example 1: unix unzip file command unzip myzip.zip Example 2: how to unzip using tar tar -xf archive.tar.gz