nav-left cat-right
cat-right
Recent Comments
Random Articles
Griffins on top of the Ch...
Griffins, originally uploaded by mohammed_4you. A Fabulous trip by team Griffins...
How to flush DNS cache in...
To flush or remove DNS cache: C:>ipconfig /flushdns To see the DNS cache: C:>ipconfig...
random article
GECPKDIT2K6 – Frien...
you\’r my friend and that is true, but the gift was given from God to me. we...

Linux Time and Clocks...

There are two clocks in your computer. The hardware (CMOS) clock runs even when the computer is turned off, and is used when the system starts up and by DOS (if you use DOS). The ordinary system time, shown and set by date, is maintained by the kernel while Linux is running. You can display the CMOS clock time, or set either clock from the other, with /sbin/clock (or hwclock). There are various other programs that can...

Linux: How to change time zone information?...

The date command can be used to reset system time, but it can’t be used used to change timezone. However, timezone reconfiguration is pretty easier. # date Sun Feb  7 21:45:53 PST 2010 # rm -f /etc/localtime # cp /usr/share/zoneinfo/EST /etc/localtime # date Mon Feb  8 00:46:34 EST 2010 The ‘timeconfig’ command can also be used to reset time/timezone information on RedHat based machines. ~mohammed

Bash puzzle: Unset last element of an array...

Here is a puzzle for bash lovers. This is taken from shell scripting community at Orkut. Question: How to reset last element of an array even if it’s a discontinuous array. Answer: $ array=([0]=a [9]=d [2]=i [6]=k); echo "${array[@]}" a i k d $ : ${!array[@]} $ unset array[_] $ echo "${array[@]}" a i k If you are not familiar with bash, you might...

C Programming: sizeof variable types...

As you know C programming language has different variable types and each of them use different byte size. Do you wonder how to find size of each variable type in C? Look at the program below. Program: int main() {   printf("sizeof(char) == %d\n", sizeof(char));   printf("sizeof(short) == %d\n", sizeof(short));   printf("sizeof(int)...

GEC Palakkad: The main building inauguration by Ho...

Is it true? Yes, it’s. The roars of students have pierced into the deaf ears of Kerala Govt at last and the dream is becoming true on February 16th, 2010. The latest news from college is that the main building will be inaugurated by Honorable Chief Minister of Kerala, Sri. V. S. Achuthanandan on Feb 16th. The above picture was taken a few months back. Unfortunately, I don’t have the latest pictures yet, but...

apropos: search the whatis database for strings or...

Did you ever sweat as you couldn’t find which commands deal with particular keywords? All linux users know they can get complete details about a command/system call from man pages. But, what if you don’t know the command? Yes, you can use apropos in such a situation . apropos searches a set of database files containing short descriptions of system commands for keywords and displays the result on the standard...