Page 1 of 1

unzip a zip file on the shell

Posted: Tue Jun 26, 2018 9:15 am
by star2
Greetings, I need to get into my directory under WWW_pages and unzip a file. I have not used a terminal in a long time so I am very rusty. I am unzipping a wordpress folder made with the latest version. I need to instal the sql file also. All help greatly appreciated.
star(at)sonic.net
~arthur

Re: unzip a zip file on the shell

Posted: Tue Jun 26, 2018 12:39 pm
by amayfield
To navigate to your web directory and unzip a file do the following:

1. log in to shell (open up your shell program [i use putty] and then connect to sh.sonic.net, log in with your Sonic username / password)
2. change directories to your web directory (cd /home/www_pages/USERNAME)
3. change to the directory containing the zip file
4. run the unzip command (unzip FILENAME.zip)