bash
Total upload and download on any interface.
2011/06/05
Something that I have been searching for a long time, finally some look inside the <a class=“zem_slink” title=“Procfs” rel=“wikipedia” …
Unix shell script for removing duplicate files
2011/05/16
The following shell script finds duplicate (2 or more identical) files and outputs a new shell script containing commented-out rm statements for deleting them (copy-paste from here): ::: updated on 02 …
mysql output to an array for easy parsing.
2011/05/11
Today I was looking for some way to put the output of the mysql output in an array in a bash script. Quick google search yeilded to results something like this: […] <td> <div …
Easy ssh configuration with .ssh/config file
2011/04/11
If you ssh to many hosts then you are aware of the pain that it takes to ssh with different username and hostname. There is an alias that you can creat with native ssh though. Here I will show you the …
using wordpress CLI to post to wordpress
2011/03/24
There is a very nice post here: How to post content to a WordPress blog from the command line I tried this in Fedora 14 and here is the way to get this working in Fedora […] <td> <div …
Try all colors in xterm with script before setting the color
2011/03/18
If you are looking for testing the colors on how they would look like in the xterm before you set the color then here is a small script for you. […] <td> <div class="text …
cd across parallel directories
2011/03/14
Image via Wikipedia […] Here is a simple and fast way to cd across parallel directory.
All in one solution for all the scripts of vim from vim.org
2011/03/09
For quite sometime now, I was looking for some console based program which would help me get the scripts from vim.org. A simple solution would have been to do a wget for the scripts. But since there …
print every nth line
2011/03/01
Some time back I was working with lot of data and wanted to analyze only the every 10 line sometimes and sometimes every 20th line. I had to keep doing these changes in vim or otherwise so finally I …
/bash debugger
2011/02/27
In this section we’ll develop a very basic debugger for bash.[10] Most debuggers have numerous sophisticated features that help a programmer in dissecting a program, but just about all of them include …
some bash exercise for you
2011/02/15
Here is some teaser for you, can you figure out how this works:
bash regular expressions
2011/02/06
Here are some quick links on bash regular expressions, pretty good links to bookmark, if you use, regular expressions in bash regularly. I especially like the tldp link at number 3. …