Some ssh tips for blog – wget command
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.
Related Reading:
Using DrupalWith the recipes in this book, you can take full advantage of the vast collection of community-contributed modules that make the Drupal web framewo... Read More >
Drupal For DummiesLearn to set up, manage, and administer a Drupal Web site
Drupal offers unparalleled flexibility for content-managed Web sites, but most ... Read More >
Pro Drupal Development, Second EditionWidely praised for its in–depth coverage of Drupal internals, bestselling Pro Drupal Development has been completely updated for Drupal 6 in thi... Read More >
Front End Drupal: Designing, Theming, Scripting“For Drupal to succeed, we need books like this.”
–Dries Buytaert, Drupal founder and project... Read More >
Cracking Drupal: A Drop in the BucketThe first book to reveal the vulnerabilities and security issues that exist in the sites that have been built with Drupal?and how to prevent them from... Read More >
Search Terms :
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.
