15 Linux Bash History Expansion Examples You Should Know


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


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


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.


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.


[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


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.


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


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


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


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.


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


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 …

This website uses cookies to ensure you get the best experience on our website. Learn more Got it