Unix
15 Linux Bash History Expansion Examples You Should Know
2012/03/02
Here is a nice link on BASH History Expansion. There are lot of examples in this page and some of them might be quite useful. But here are my list of favourites: !! This is probably the most used one …
Rekursive Grep on Solaris or AIX Systems without GNU egrep -r funcionality
2011/12/16
If you work regularly on a Solaris or systems which do not have the “-r” (recursive grep) for grep, then you know what a lifesaver this command can be. Here is one from command line fu: find . -type f …
some interesting alias
2011/09/27
For this time, I will just give you a link to to bashrc file. http://hayne.net/MacDev/Bash/aliases.bash Head over there and see some very interesting aliase’s.
Creating a chroot environment – the script.
2011/09/23
Here is the script, very simple and effective 🙂 #!/bin/bash - #=============================================================================== # # FILE: mkchroot.sh # # USAGE: ./mkchroot.sh # # …
Creating a chroot environment in Fedora with bash and other utils.
2011/09/19
[ad#ad-2] I am testing some of my scripts to work on a very old system and there the versions of the most popular applications are very old, real old :(. So, some of things that I am very used to …
better bash debugging
2011/09/16
I was trying to debug some bash scripts yesterday and learnt something new 😉 There are lot of things in bash that you can use to debug and to start with you can enable xtrace mode as follows: set -x …
ss – utility to investigate sockets.
2011/09/07
Sometimes, you find some interesting application/command by accident, and that is just what happened a few days back. Well, I was doing a ssh and as usual made my share of mistake in typing and missed …
[Solved] ssh works but scp does not
2011/08/29
Image via Wikipedia […] For quite sometime now, I was having this issue, that for the home system, I was able to connect to is using ssh but it never worked. Fnally after quite some debugging …
bash completion
2011/08/09
I was working on some functions in bash to make my life easier and realized that if I added custom completion to my functions, it will be really good. So I headed over to google and searched for what …
Installing Full Blin g theme on N900
2011/08/03
I was going through the post : http://talk.maemo.org/showthread.php?t=46739 and found the theme quite intruging but not complete to the point where I can download the deb file and install it in …
faster bash operations on files with File Descriptors.
2011/06/11
I was writing a bash script that would do some operations and read and write to file. Seems that that was pretty simple with […] <td> <div class="text codecolorer"> while …
Solaris dump analysis
2011/05/18
I had to debug a solaris crash dump and had no ides. Google search wasn’t much useful until finally I found this article: http://cuddletech.com/blog/?p+AD0-448 have a look at this article, this …