Amazon

Jan 28, 2010

Backup online data using Backupify


It's time for you to backup all of your online sites, like facebook, flickr, google docs and other sites that you store online. You'll never know when something happens on these sites. And good thing that Backupify is doing this kind of service. They are offering a free account sign-up until January 31, 2010.
Backupify is very easy to use, after sign-up you can configure the sites you want to backup. It's using Amazon webservices, so I think and believe that it's a good quality.

Here are the supported sites:
  1. Gmail
  2. Google Docs
  3. Twitter
  4. Flickr
  5. Facebook
  6. Basecamp
  7. Wordpress
  8. Delicious
  9. Photobucket
  10. Blogger
  11. Friendfeed
 It will alert you through email when backup is finished. I have tried it and started to like it. With the advent of technology, rule of the thumb is you need to have three backup location, your computer/laptop, your on-line sites and your on-line backup.

Act now and act fast. Backup! Backup! Backup!

Jan 8, 2010

Linux howTo: How to check your Computer's temperature

There are times that you want to check your computer's temperature or server. You can check it with a simple command:

   user@linux$ cat /proc/acpi/thermal_zone/THRM/temparature
   temperature:                  40 C
   user@linux$

Note that this method works only if ACPI (Advanced Configuration and Power Interface) thermal zones are supported on your computer.

Jan 6, 2010

Linux Tip: Linux monitor processes using kill

One of the tasks of an Administrators or even users of Linux server, workstations and desktop is to monitor running processes. Processes that are important to your production Linux servers. One of the command that I recently learn that can help in monitoring linux processes is the kill -0 command. But wait, kill means terminate the process. How can we monitor the process if we use the kill command?

When you refer to the manual/info of kill, 0 means no signal will be sent, it will not terminate the process. By combining return status(echo $?) with kill -0, you can check if a certain process is running or not.

Open a gnome-terminal and login as root or use sudo for Ubuntu user.
All processes running (UNIX daemon) are at /var/run directory. So when you want to check the process id(pid) of yum daemon, just look into the file /var/run/yum.pid.

    root@linux# cat /var/run/yum.pid
    1755
    root@linux#

Do the following command when checking the status of process:
   
    root@linux# kill -0 1755
    root@linux# echo $?
    0
    root@linux#


If the output of echo $? is 0, that means the process is running. Refer to my other post regarding $? variable here.

To shorten the above procedure, we can just do this:
   
    root@linux# kill -0 $(cat /var/run/yum.pid)
    root@linux# echo $?
    0
    root@linux# 


Daemon is not running ( yums.pid doesn't exist )

    root@linux# kill -0 $(cat /var/run/yums.pid)
    cat: /var/run/yums.pid: No such file or directory
    root@linux# echo $?
    1
    root@linux#

You can now monitor processes with kill -0 command. Just play around, it will help in some unexpected situations.

Dec 26, 2009

Pidgin, chat client for Linux

If you are looking for a good chat client for Linux, I suggest you use the Pidgin. It's user friendly and easy to use.

Pidgin is a chat client account for Windows, Linux and other UNIX operating system.

It let's you manage an accounts on multiple chat network. Compatible with the following chat networks:AIM, ICQ, Google Talk, Jabber/XMPP, MSN Messenger, Yahoo!, Bonjour, Gadu-Gadu, IRC, Novell GroupWise Messenger, QQ, Lotus Sametime, SILC, SIMPLE, MySpaceIM, and Zephyr. It can support many more with plugins.

There are two easy ways to install it( do this as root ) using a Fedora Core 11:

1.Through yum command
  
    root@penguin$ yum install pidgin

    It will get all the necessary package and dependencies for pidgin.

    If you are using Fedora Core 4, 5, 6 or 7 follow this steps from pidgin site

2. Through Add/Remove Software GUI

    Go to System->Add/Remove Software

    Enter 'pidgin' in the find entry form, press find. It will show a lists related to your keyword search. Find the Pidgin, select it and press apply button. It will install and download all the dependencies

After installing it. Pidgin will appear at Applications->Internet->Pidgin
You can now start to add your accounts and enjoy...

For Ubuntu users you can follow this link from pidgin http://pidgin.im/download/ubuntu/

Feel free to drop a comments...

source : pidgin.im

Dec 24, 2009

Linux distros: available Linux distros

Question : What are the different popular Linux distributions?

Answer :
  1. Fedora - developed by community-supported Fedora Project and sponsored by Red Hat.
  2. Ubuntu - sponsored by UK based company Canonical Ltd. It is based on Debian/Linux distribution system.
  3. Linux Mint - based on Ubuntu with integrated media codecs. Founded by Clement Lefebvre
  4. CentOS - community supported based on Red Hat Enterprise Linux
  5. Debian - a GNU/Linux based distro
  6. Gentoo - based on either Linux or FreeBSD that can be automatically optimized and customized for just about any application.
You can try them and differentiate their capability. For beginners, use the Ubuntu and Linux Mint, they have a good desktop user experience.

source : wikipedia.com

Dec 20, 2009

Linux howTo: How to see Linux Unix command manual?

Question: How to see Linux / Unix command manual?

Answer:
Linux / Unix commands have built-in manuals. Just do the following command

user@penguin$ man top

man is a built in command for Linux. man will check if there is top document, if it has it will load the on-line manual pages in the command line.

This is the result of the above command:


top(1)                                                                                                                                          
NAME
       top - display and update sorted information about processes


SYNOPSIS
       top    [-a | -d | -e | -c ]
              [-F | -f]
              [-h]
              [-i ]
              [-k]
              [-L | -l ]
              [-o ] [-O ]
              [-p ] [-P ]
              [-R | -r]
              [-S]
              [-s ]
              [-T | -t]
              [-U ]
              [-u]
              [-W | -w]
              [-X | -x]
              [[-n] ]


Feel free to add a comment.

Dec 18, 2009

Linux question: command or script exit status

Question: What is exit status of shell or command in Linux?


Answer:
Every time a process or shell exit, it will send a terminating code to the operating system. This is what they call 'exit status'. We can detect wether the command is successful or not by checking the exit status. Here's how you can check:


user@penguin$ echo "Hello World"
Hello World
user@penguin$ echo $?
0
user@penguin$


$? is a variable where Linux stores the exit status of the previous command it ran.
0 in exit code is successful. If greater than 0, it means that it was exited abnormally or there's an error.


user@penguin$ ech "Hello World"
-bash: ech: command not found
user@penguin$ echo $?
127
user@penguin$


ech is not a linux command. And the exit code is greater than 0 because of the error. 
Try to play with it. This will be a great help for your linux knowledge.


Feel free to post a comment.