March 2010

April Fool’s Day Pranks for Geeks

by Ramesh Natarajan on March 31, 2010

Here is a list of few April Fool’s Day prank ideas to fool your friends. Some of them are very old and yet effective.

What is your favorite April Fool’s Day prank?

  1. Take a screen-shot of the desktop and set it as their desktop background image. Disable the top/bottom panels on their desktop to make this static desktop image looks like a real desktop.
  2. (more…)

{ 5 comments }

UNIX / Linux: 10 Netstat Command Examples

by SathiyaMoorthy on March 29, 2010

Netstat command displays various network related information such as network connections, routing tables, interface statistics, masquerade connections, multicast memberships etc.,

In this article, let us review 10 practical unix netstat command examples.
(more…)

{ 15 comments }

In our bash introduction article, we learned that a shell-script file contains list of commands to be executed by the shell interpreter. In this article let us review about shell commands and its internals.

A command is a sequence of words. The first word indicates the command to be executed and remaining words are passed as an arguments, where arguments could be the options or parameters to the command.
(more…)

{ 4 comments }

Question: How do I executed PostgreSQL Commands inside a Linux / UNIX shell script?

Answer: With the help of the psql interactive terminal, you can execute the psql commands from the shell script. For this purpose, you should enable the password less login by pg_hba.conf, or .pgpass.
(more…)

{ 2 comments }

Sometimes Unix system administrators may end-up managing few Windows servers. If that ever happens to you, be prepared to do some basic administrative tasks on Windows. In this article, let us discuss how to sign microsoft executables and DLL.
(more…)

{ 3 comments }

Top 5 Best Databases

by Ramesh Natarajan on March 22, 2010

As part of the contest we conducted recently, we got 160+ comments from the geeky readers who choose their favorite database.

Based on this data, the top spot goes to.. drum roll please..

MySQL

If you are new to any of the top 5 database mentioned here, please read the rest of the article to understand more about them.
(more…)

{ 11 comments }

Question: I would like to understand the basics of how to write and execute Haskell program on Linux OS. Can you explain it with a simple example?

Answer: In this article, let us review very quickly how to write a basic Hello World Haskell program and execute haskell program on Linux or Unix OS.

Also, refer to Haskell article on wikipedia to learn about this programming language.
(more…)

{ 1 comment }

9 Powerful Awk Built-in Functions for Numeric

by Sasikala on March 17, 2010

Similar to awk built-in variables, awk also has lot of built-in functions for numeric, string, input, and ouput operations. Awk has the following three types of high level built-in function categories.

  1. Built-in functions for numeric operations
  2. Built-in functions for String operations
  3. Built-in functions for Input Output operations

(more…)

{ 2 comments }