03 July 2008

Quick commands

case

This may be a simple method, but I have been having fun with it lately. I use the command line a lot more than I used to and as I get better at casting the runes, I find that I forget the complex spells when I need them again. I have been using my history to help me. I pipe history command to grep and insert the part I remember that is specific ( like apt-get ) and then look at the history lines and use exclamation point with the line number to execute the line. I am sure that it is not the most elegant programming. It just seems that the number of times that I do this would mean that somebody else might find it useful too.


esac

No comments: