Shell

VPS Comparison: Linode VS DigitalOcean

DigitalOcean is inexpensive to AWS EC2. Surprisingly Linode is even 30%-40% cheaper than Digtialocean. Certainly Linode is much less matured to them both. But with reasonable compromise, Linode could be attracting to small business and individuals.

Enclosed is a detail VPS comparison report, based on my hand-on experience.

VPS Comparison: Linode VS DigitalOcean


(more…)

Shell Redirect Output To File, And Still Have It On Screen

Ever need to check the output of shell functions/scripts? If no fatal/error messages found, resume normal procedure. Otherwise, go to error handling.

Usually people solve this, by redirecting stdout/stderr to grep command. But What About Time-consuming Functions/Scripts? Say several minutes. During this period, end users are blinded with nothing printed. It could be confusing and scaring to them.

Linux Tee Command


(more…)