Aug 05

#!/bin/bash

#file format bu_080508124510
d=$(date +%m%d%Y%H%M%S)

`tar czf bu_$d.tar.gz directoryname/`

You can add the script to your cron to automatically backup important directory.

written by Patrick \\ tags: , , ,

Aug 05

This script will send an email to the email address specified. Basically it will output the uptime and the last reboot of a Linux machine.

#!/bin/bash

svr=yourservername
cpu=`egrep ‘GHz|MHz’ /proc/cpuinfo`
ut=`uptime`
lrbot=`last reboot`

echo -e “$cpu\n$ut\n$lrbot” | mail -s “$svr Stats” youremail@domain.com

written by Patrick \\ tags: , , , , ,

Jul 18

The easiest way to check linux kernel version is by opening CLI and type the command below:

uname -a

written by Patrick \\ tags: , , , , , ,

Jul 15

WordPress 2.6 “Tyner” is available for download at WordPress.org website. More info about the release here.

written by Patrick \\ tags: , , ,

Jul 14

How to Win a iPod Nano and $250.00 massage/Chiropractic Gift card
How to Win a iPod Nano and $250.00 massage/Chiropractic Gift card>
All you have to do to have a chance of winning this marvel of modern technology and Free Gift card is Subscribe to This rss feed by entering your email address below Or Enter Here at Crunch Now Dot com The contest will last 2 weeks so tell all your friends and family to come subscribe to win this free gift pack From CrunchNow and BloggerNoob

Enter your email address:

You Will also need to write a blog post about This blog (on your own blog) and mention this competition(you only have to subscribe to Enter this just gives you 2 chances of winning Instead of one).

Once you’ve done that, come back here and leave a link to your post in the comments to this post. The winner will be chosen at random, so you can say whatever you like about CrunchNow -good or bad!-.

Note:

*This is a Rss competition against me and BloggerNoob
*One person who subscribes wins all the prizes.
*We can add more items as the competition goes on until Friday July 25th at 8pm.
*The more Friends you Tell about This the Greater the chance at winning.

written by Patrick \\ tags: , , , ,