Of course I could unzip any archive with my OS’s built in tools on the GUI. But I was just keen how to unzip using command line tools… 😉
Open terminal
Hit cmd + space to launch Spotlight, type terminal and hit enter.
Unzip file
I unzip an archive using this command:
unzip ./pathtomyfile/myfile.zip;rm -rf __MACOSX
unzip runs the unzip tool
./pathtomyfile/myfile.zip specifies the location and the very archive to be unzipped
;rm -rf __MACOSX automatically erases a hidden folder that is created in the unzip process that I don’t need afterwards
Resources I’ve been Using to Learn this
http://www.mactricksandtips.com/2008/08/unzipping-files-using-terminal.html