shell
We may need to install some old packages such as the kernel in our Linux box. Let’s use installing a older version of Linux kernel in Fedora as the example ... read more »
Twitter’s API is easy to use:
curl -u username:password -d status="Tweeting msg" http://twitter.com/statuses/update.xml
or
curl -u username -d status="Tweeting msg" http://twitter.com/statuses/update.xml
Then type in password.
I have written a script twitter:
#!/bin/bash
username=USERNAME
password=PASSWORD
curl -u $username:$password -d status="$*" ... read more »
cron can only run the job for every one week/month/day/…. But we may want to run some jobs for every two weeks/months/days… under some situation such as bakup for every ... read more »
A script for backing up file-backed Xen DomU is introduced in this post. This script can be changed to similar platform.
In our cluster, virtual machines are stored under /lhome/xen/. Virtual ... read more »
Advanced Bash-Scripting Guide – An in-depth exploration of the art of shell scripting
by Mendel Cooper
Link here: http://www.tldp.org/LDP/abs/html/index.html read more »