Some ssh tips for blog – wget command

-->
Category: Step By Step

In last post I already demonstrate a few command in shell for helping me, here’s quick summary of those command :

Wget

I use it most for download something, like themes or plugin for one of my blog.

For example :

I took one theme from today weblog tools collection, pick Excel theme.

1. Go to theme folder

al@hostingformula [~]# cd www/books/wp-content/themes/

al@hostingformula [~/www/books/wp-content/themes]# ls
./ ../ blue-zinfandel-2column.zip default/

cd, this command will move me to directory xxxx

ls, this command will list all files and folders in current directory

2. Download theme and unpack

al@hostingformula [~/www/books/wp-content/themes]# wget http://alphablogdesigns.com/xxxxxxyyyyyyyy/excel.zip

–09:23:57– http://alphablogdesigns.com/xxxxxxyyyyyyyy/excel.zip
=> `excel.zip’
Resolving alphablogdesigns.com… 67.212.165.26
Connecting to alphablogdesigns.com|67.212.165.26|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 120,593 (118K) [application/zip]

100%[====================================>] 120,593 345.65K/s

09:23:58 (345.32 KB/s) – `excel.zip’ saved [120593/120593]

See directory list now using ls :

al@hostingformula [~/www/books/wp-content/themes]# ls
./ ../ blue-zinfandel-2column.zip default/ excel.zip

As you see there is one file ‘excel.zip’ there.

Now unpack the file :

al@hostingformula [~/www/books/wp-content/themes]# unzip excel.zip

Hit Enter and you’ll see some process :

inflating: excel/searchform.php
inflating: excel/sidebar.php
inflating: excel/single.php
inflating: excel/style.css
al@hostingformula [~/www/books/wp-content/themes]#

Finished, you can see the theme. Ready to use, thanks to alphablogdesign for providing this great theme.

Add to Del.cio.us RSS Feed Add to Technorati Favorites Stumble It! Digg It!
    www.sajithmr.com

Tags: ,

Leave a Reply

Readers who viewed this page, also viewed:

  • N/A