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… 😉
Hit cmd + space to launch Spotlight, type terminal and hit enter.
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