ssh tips – using && to make life easier
This time I wanna learn about symbol &&, I’ll use it to simply download and unzip theme and plugins for my wordpress blog faster and easier. Lets start :
Get Download link target
I like to try these theme and plugins:
http://speckyboy.com/wp-content/uploads/2007/11/winter_styled.zip
http://downloads.wordpress.org/plugin/replace-wp-version.zip
- Backupwordpress, backup database + files
http://wordpress.designpraxis.at/download/backupwordpress.zip
Download and unzip
1. For theme go to theme folder in inside wp-theme area
2. Download file and unzip in single command :
# wget http://speckyboy.com/wp-content/uploads/2007/11/winter_styled.zip && unzip winter_styled.zip
–07:58:23– http://speckyboy.com/wp-content/uploads/2007/11/winter_styled.zip
=> `winter_styled.zip’
Resolving speckyboy.com… 64.13.232.110
Connecting to speckyboy.com|64.13.232.110|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 32,088 (31K) [application/zip]
100%[=============>] 32,088 –.–K/s
07:58:23 (541.94 KB/s) – `winter_styled.zip’ saved [32088/32088]
Archive: winter_styled.zip
inflating: winter_styled/404.php
inflating: winter_styled/archive.php
inflating: winter_styled/comments.php
inflating: winter_styled/footer.php
inflating: winter_styled/functions.php
inflating: winter_styled/header.php
creating: winter_styled/images/
inflating: winter_styled/images/Thumbs.db
inflating: winter_styled/index.php
inflating: winter_styled/page.php
inflating: winter_styled/screenshot.png
inflating: winter_styled/search.php
inflating: winter_styled/sidebar.php
inflating: winter_styled/style.css
inflating: winter_styled/Thumbs.db
al@hostingformula [~/www/hostingformula.info/wp-content/themes]#
al@hostingformula [~/www/hostingformula.info/wp-content/themes]# ls
./ blackwhite/ default/ winter_styled/
../ box-tube/ excel/ winter_styled.zip
As you see folder winter_styled and winter_styled.zip .
3. Change directory to plugins
# cd ../plugins/
al@hostingformula [~/www/hostingformula.info/wp-content/plugins]#
Issue command to download and unzip :
wget http://downloads.wordpress.org/plugin/replace-wp-version.zip && unzip replace-wp-version.zip
wget http://wordpress.designpraxis.at/download/backupwordpress.zip && unzip backupwordpress.zip
Yes, same way as previous step for download theme.
summary :
- Using && symbol can save our time.
- Using && without limit.
wget http://downloads.wordpress.org/plugin/replace-wp-version.zip && unzip replace-wp-version.zip && wget http://wordpress.designpraxis.at/download/backupwordpress.zip && unzip backupwordpress.zip
this will download two plugins and unzip them, just make sure to type it in one line.
Enjoy
- wget unzip
- wget and unzip
- unzip replace
- wget wordpress themes
- wget to unzip
- wordpress theme wget
- wget replace @ by ?
- wget replace &
- wget ngix ssh
- wget wordpress login
- wordpress install using wget
- wordpress login using wget php
- wordpress login wget
- wordpress ssh theme
- wordpress themes ssh
- wordpress themes wget
- wordpress upgrade plugin wget unzip
- wordpress wget
- wordpress wget plugin
- wget function on hosting
Related posts:
- Install theme for online store based on Wordpress Previous post I already explain about wordpress installation locally...
- Moving hostingformula.info : from ssh enabled host to cpanel enabled host My friend challenge me to move hostingformula.info to another...
- Migrating from hostmonster to fastdomain Almost 1 year with hostmonster, overall experience I feel...
- Moving wordpress blog to new place and new domain Another client ask me to move their blog to...
- Upgrade to wordpress 2.9 : Carmen New Wordpress version ready to serve : 2.9 A...
Related posts brought to you by Yet Another Related Posts Plugin.
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.




