davemitz(dot)com

a blog about technology, business, and whatever I feel like writing about.

Archive for July, 2006

Here is a quick little hack that I figured out in order to selectively exclude a specific command from my bash history.

First, you need to set the HISTCONTROL variable to ignore spaces. You can do this my typing the following command:

export HISTCONTROL=ignorespace

You will then need to restart your bash session. You can confirm that this change took place by typing “env | grep HIST” (without the quotes).

You have now told bash to exclude any command that begins with a space from the history file. So now, whenever you want to perform a command but exclude it from history, simply hit the space bar before typing the command. The command will run just like normal, but you will not find it in your bash history.

Pretty cool, huh?

  • 4 Comments
  • Filed under: Linux
  • It’s an 8-Bit Sort of Day

    For whatever reason, it is shaping out to be a very Nintendo sort of day. So, here are a few cool places that you can visit if you want to join me in my 8-bit nostalgia.

    First Issue of Nintendo Power - Here is a PDF version of the first issue of Nintendo power. Guaranteed to make you unproductive for the next hour or so.

    NES to PC controller mod - this is from my co-worker Curtis. He converted an original NES controller to work with his PC.

    Super Mario Supershow Intro - Watch Captain Lou Albano sing the theme song to the short-lived Super Mario Supershow!

  • 1 Comment
  • Filed under: cool things
  • Where to Find Me Online

    

    My Lifestream

    

    Chrissy and Jackimage47image59image10image34David & Chrissy @ the AlamoCables All Over the PlaceToaster Running BSDOut My Hotel WindowWedding Picture