Archive for the ‘Linux’ Category

ABC to hack root password in Linux !

August 25, 2009

The following link has the detailed instruction along with snap shots

Note this technique only works for Fedora and Red Hat !!

Hopy you find it interesting !! 😀

ABC to use grep to search for a word and also to get its line number

June 18, 2009

Wondering about the big title…. lolzzz… will it has a meaning….

First, The command :

cat filename | grep -n search_keyword | less

Say, you have a file called filename and you want to search for a term called search_keyword. The -n stands for number. It will print the line number where the search_keyword is found. | less is just a normal utility that lets you scroll up and down if you have the output (of the above command) running for more than a page.The following are some example –

Say, we have a file called abc.txt with the following contents:

A  :  mangoes are tasty fruits.
      Do u like mangoes ?
B  :  No, I don't.
      I like apples.
A  :  But I like mangoes more than apple.

From the shell (terminal), execute the following command.

cat abc.txt | grep mangoes

You will get the following output

A  :  mangoes are tasty fruits.
      Do u like mangoes ?
A  :  But I like mangoes more than apple.

When you added -n to the above command i.e.

cat abc.txt | grep -n mangoes

The output looks like this , notice the line numbers :

1:A : mangoes are tasty fruits.
2:    Do u like mangoes ?
5:A : But I like mangoes more than apple.

I hope everything is clear !

ABC to install Gnuplot SuSE 11.1

June 10, 2009

GNU Plot is not installed in SuSE 11.1 by default. But, the  installation is fairly simple. It is going to take less than a minute !

The easiest way to install Gnu Plot is to use the Installation disk. Just a package needs to be installed ! The steps are as follows –

1. Go to YaST Control Center. Select ‘Software’ on the left panel and then open ‘Software Management’ on the right.

2. Make a search for ‘gnuplot’.

3. The is only one package for gnuplot. Check mark that. Have a look at the  snap if something wasn’t clear.

YaSt Software management

YaSt Software management

4. Click on Accept and the Installation start. Remember to insert the Installtion disk when propmted. :P

ABC to install Pidgin in SUSE 11.1

June 5, 2009

Well, I was one of the guys who was using linux for years but never cared before to install pidgin. My roommates use Pigdin a lot. But I never cared to follow up the installation steps. So it was time for me to install and unfortunately my roomie weren’t online. Hmmm, well it true, only when you need sometime badly you realize the importance of ignorance. So, this post is for people like me and ya myself (if I happen to forget :P)

For the installtion you need the Pidgin software. But you need in search the internet for the software, I assure you.  Well if you want the site, here you go.

But, if you are using SuSE 11.1, the installation is much simpler. This is because the Suse 11.1 installtion disk has all the packages necessary for installation. The steps are as follows –

1. Go to YaST Control Center. Select ‘Software’ on the left panel and then open ‘Software Management’ on the right.

2. Make a search for ‘Pigdin’.

3. You will have a list of available sotwares related to ‘Pidgin’. You need to select the basics ones (Experts can   customize, I am a amateur)

a)  pidgin – GTK+-Based Multiprotocol Instant Messaging Client

b)  pidgin-branding-openSUSE – openSUSE branding of pidgin

c)  libpurple – Library for IM Clients Like Pidgin and Finch

May be this  snap could help you.

Pidgin Installtion

Pidgin Installtion

4. Click on Accept and the Installation starts. Remember to insert the Installation disk when prompted. 😛

Why the hell are u still read the post, Just Sign in and start chatting. 😀

Gnaught – A new software !

May 31, 2009

The open software crazy has gone to reach heights. The community has millions of developers and they keep inventing some new software and promote it. This in turn draws more people to the community and this is exactly why it is done. Yes.. you have got it right, a Viscous Circle.

Adding flavour to this is the software Gnaughty.  I am not going to describe what it is or how to install it. All I am going to tell is that it is a Open Source Software. Other required information are given in the link following.

I guess you have seen it ! lolz…  thinking something… go on keep thinking…

Credits to Abhishek Srivastava for discovering it !

Kate not installed in Suse 11.1

May 24, 2009

What should you do when you encounter such a problem is exactly what I am going to say ! I love Kate because it allows me to execute the programs under the same framework. When I installed SUSE 11.1, somehow Kate wasn’t installed. The following is what I did.

Go to the YaST Control Center. Choose Software on the left panel(It is chosen by default). Then open Software Management from the panel in the right and make a search for “Kate”. It shows you whether Kate is installed or not (If there is a tick mark in the checkbox, Kate is installed otherwise not !). Select the appropriate version by selecting the checkboxes and then. Click Accept to continue with the installation.

During the installation, you may need the installtion disk if the packages are not downloaded from the internet. A message will be prompted in case the disk is required. Without any further user intervention, the installtion is done ! 😀

Download and Install log4j / Log for Java

May 1, 2009

Log for java aka log4j is a library. Its a small software that need to be downloaded an installed. The installation which I am going to illustrate if for Linux and a similar procedure can be followed for windows. It can be downloaded from the following link –

Download the tar file and extract it using the following command

tar -xvvzf apache-log4j-1.2.15.tar.gz

Move the for apache-log4j-1.2.15 to the a location of your choice. But I recommend you to put it in a folder where you have installed java (say you have moved the extracted the folder to /usr/java/). Now, the jar file log4j is inside the folder. The path should be


After this there are two ways to make it recogniseable by you java program. One is you need to set the CLASSPATH. The second and the best alternative is, you could import that jar file. I guess most of you use NetBeans or Eclipse for java programming. So all you need to do is to imort this jar file and it will be recognised by you package. If you want to know how to use logger function, read the following manual

Greatest Myths about Open Source Revealed !!!

March 9, 2009

My friend Abhishek Srivastava has tried to answer some of the greatest question that explains the myths and misconceptions about Open Source Softwares and Technologies. Here are the question…..

Does Free and Open Source means Zero Cost?

Is Free and Open Source Software’s always related with LINUX?

So why we are paying for software’s even if we want to use Windows only?

I guess you will find the answers intersting. I guess he was apt with his answers. He must have done a lot of research work before getting those key answers. I really enjoyed reading it, hence with his permission posted a part of it here so that more people get to read it.

Hats Off Abhishek!!! 😀

Download Linux !

March 4, 2009

The GLUG Unit of NIT Durgapur is now hosting the ISO images of Centos 5.2, Fedora 10, Ubunto 8.04 and OpenSuse 11.1. You can download it from:

OR, Alternatively, If you want to install Linux, but do not have DVDs/CDs, you could Unetbootin PXE software to install over the internet. For more information about this visit the GLUG site of NIT Durgapur. The following page link to GLUG NIT Durgapur and also has more information on how you could install linux without downloading:

Glug is now host a 20 GB repository for Fedora. Feel free to keep your Fedora updated.

If you have any problems Downloading or Installing  any Linux from the repository, please post your questions as comments and I will try my best to sort it out.

%d bloggers like this: