- November 2017 (1)
- April 2017 (1)
- November 2016 (1)
- May 2016 (1)
- September 2015 (1)
- September 2014 (1)
- October 2013 (1)
- January 2013 (3)
- November 2012 (2)
- September 2012 (1)
- May 2012 (1)
- April 2012 (1)
- March 2012 (2)
- February 2012 (2)
- January 2012 (1)
- December 2011 (3)
- November 2011 (2)
- October 2011 (1)
- September 2011 (1)
- July 2011 (2)
- June 2011 (1)
- May 2011 (4)
- April 2011 (2)
- March 2011 (4)
- December 2010 (9)
- June 2009 (3)
I am a Software Engineer, love sports (especially Cricket), movies and hanging out with friends. This blog is an attempt to share something on the web.
- RT @viratteam18: Who said that there are no angles in Cricket I have seen #YuvrajSingh. We just didn't support you because you are great… 1 week ago
- RT @imVkohli: It's time guys. Time for everyone to re-discover the joys of playing. Time to run past all the excuses. 😀 So get ready! I’m t… 1 week ago
There is just no point in being a victim, be the damn culprit.
A mistake is simply a way of doing other thing right.
The difference in genius and stupidity is that stupidity has no limits.
Beauty fades but dumb stays.
A man's character is not exhibited when he is weak, it's when he has the power.
Courage is not absence of fear, it is conquest of fear.
It is not about winning or losing. It's about how you play the game.
Never say 'never', Never say 'always'.
Quality of life does not depend on what happens to you, its how you react to what happens to you.
When you are talking to an idiot, make sure he doesn't feel the same.
- 35,631 hits
Category Archives: Unix
We all have been there waiting for a huge file to load in our fav editor. Knowing the number of lines in the file does not hurt. Check out below commands: Windows: find /c /v “hffhsdfsdlkfjsdlfj” <file_path> /c – Displays … Continue reading
Hello Readers, This post shows an example to write a shell script that accepts 2 array parameters. The size of array parameters need not be same. Below script takes 2 array parameters and just prints the elements. Usage: Output: If … Continue reading
Respected Readers, Sharing a shell script that delete all files in a particular dir that match a pattern. The same can also be achieved by a combination of find and rm commands. This script can be called from a master … Continue reading
Respected Readers, This post is about getting email alerts when application disk space crosses a threshold. It is a common requirement to get alerts so that one can be proactive rather than reactive. Recently, I was asked to write such … Continue reading
Respected Readers, Often we have to write shell scripts that does some work (capturing daily data feed for eg) and then invoke a sql script (to persist captured data). You may or may not require to send parameters. Below provides … Continue reading
Hi Readers, Lets say you want to change file permissions of all the files that you own in a particular directory. In such case, find command can be used to get all files for a particular user and chmod command … Continue reading
Estemmed Readers, Lets say you want to change group permissions of all files and directories inside a directory. Following command can be used to do that: chgrp -R groupname pathofdirectory This command will only change the group of all files … Continue reading