nav-left cat-right
cat-right

Start AWK programming...

Awk is a pattern scanning and processing language. It’s essentially a stream editor, like sed. You can pipe text to it, and it can manipulate on a line-by-line basis. Awk can also read from a file and then process on a line-by-line basis. Unlike sed, it has the ability to remember context, do comparisons, and most things another full programming language can do. The simplest form of awk is a one-liner: awk '{ do-something-here...

Bash Script: backup your data directories and mysq...

You can use this script to backup your data directories and mysql databases. Please note that this script is designed to retain only a single backup copy at the remote server. You can download the script from here. #! /bin/bash ######################################################################################### #                              ...

Effective working with GNU Screen...

Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells). Each virtual terminal provides the functions of a DEC VT100 terminal and, in addition, several control functions like insert/delete line and support for multiple character sets. There is a scrollback history buffer for each virtual terminal and a copy-and-paste mechanism that allows...

Interval :: A professional Music Album from GEC Pa...

It’s absolutely brilliant and we should really appreciate their approach towards it as they could find time from their busy official schedules. Kudos to Interval Team Interval – the first professional audio album from GEC, Sreekrishnapuram, Palakkad (I doubt it’s the first ever professional album from a campus). The lyrics, musics, singers… each of the Interval Team Member was from GEC, Sreekrishnapuram....

Alumni meet :: Samagamam 2009...

Well, the most awaited Alumni meet has happened at last. It was the first ever alumni meeting (officially, the first one happened on June 2006 though) at Government Engineering College, Sreekrishnapuram, Palakkad. It was a great time, being with the seniors, batchmates and juniors from 2003-2009 batches. It’s nice to know that all are doing great at different parts of the world. A live broadcast of the meet was...

GEC Alumni : Festival Matches...

Hi, Hope everyone are aware that there will be festival matches played with Alumni and Principals team on 5th December as part of the Samagamam – 2009. Cricket , Football and Volley ball are planned in the after noon. The Alumni teams will be chosen before 12 noon on the same day. So please do have necessary warm up and regain all your energy before you are on the ground . Happy news to all girls – You can...

How to create a chkconfig service?...

How to create a chkconfig service? Did you ever wonder how to add your custom script/service to chkconfig so that it can start automatically when the server boots up? Read below for more details. chkconfig – updates and queries runlevel information for system services chkconfig provides a simple command-line tool for maintaining the /etc/rc[0-6].d directory hierarchy by relieving system administrators of the task...

sed: match words...

The escaped angle brackets are your solution if you wanna match exact words, not their parts. The angle brackets must be escaped, since otherwise they have only their literal character meaning. \<word\> -- mark word boundaries Example: $ echo "for forward" |sed 's/for/XXX/g' XXX XXXward $ echo "for forward"|sed 's/\<for\>/XXX/g' XXX forward ~mohammed