Summation of grep -c

The unix shell grep command have an option called "-c" which will give you the count of matching lines per file. Sometimes it's desirable to have a summation of all these count, for which i could not find an option. I wrote a one line command that perhaps…

Read this article

Configuring Pidgin to work with Lync server in Arch Linux

Hi all, The organization i work for uses Lync as the official commumicator, and we are recommended to use them as well. The challenging part is that am running arch linux with a tiling window manager, which is not so supported configuration for a Lync client. Somehow i managed to…

Read this article

ssh to remote machine for the first time throws error

TIP :Today i tried to ssh to my vps using the following, from my Ubuntu machine.avr@avr-Latitude-E5500:~$ ssh root@xx.xx.xx.xxxand the following error showed up.y@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!Someone could be eavesdropping on…

Read this article

Arch Linux : Installing chromium flash plugin in a flash

I was trying to create some presentation (prezi.com) and it warranted to install Flash plugin for Chromium running in Arch Linux. Well the instructions in Adobe flash player website are not of much help, and neither the ones in Arch Wiki. To crack it straightaway i know that we…

Read this article

dmenu not woring with dwm window manager

oday, I was trying to setup dwm, in my arch Linux, and kind of liked it very much. You have to manually build the source and install it, to make it work. A sample .xinitrc file is provided on the internet which is a good start. I played with some…

Read this article

Shutdown linux from commad line, immediately

THis is more of a tip to shutdown linux (arch linux) immediately from the command line. Generally issuing the command "shutdown" will notify all connected users and then will go for shutdown after a while. This might not be necessary sometimes as you would wish to shutdown immediately.…

Read this article

Testing my ignorance with dejagnu - part one

Well, this post is not like the title :). This post is about overcoming my ignorance about dejagnu and  understand what it is, how it works, and how to configure it. I am going to write this as a series of posts, and this is the first. Simply Dejagnu First we…

Read this article

Enabling the buildin simulator for ARM in gdb-binutils in crosstools-ng

I was asked to enable the test suite in the project using the simulator that comes along with it. I figured out that cross tools-ng is customized by a configuration file which controls almost anything that crosstools-ng does. To enable (build/install) the simulator component in the gdb we need…

Read this article

Building binutils-gdb crashes arch linux

Hi all,Today I was trying to setup Binutils-gdb in my arch Linux x64 machine, for which I downloaded the sources and about to follow the usual steps. i.econfiguremakemake installI tried to save some time and invoked make with -j option, i.e run in parallel. And make ran…

Read this article

Environment Varaibles in Ant doesn't work in Fish shell

Today i was trying to run a ant build job in Fish shell (Arch Linux), and was kind of perplexed for a while. Reason is that the environment variables i set are not picked up by ant, even though i can see them set in shell prompt when running "echo…

Read this article