Attack of the shell helpers

Everyone who uses the command line regularly has a bunch of (at least for him) useful helper scripts. I now took the liberty to put mine on github for general consumption.

You can find them at:

Some of these might be more useful than others, you decide :) Personally, I can’t live without the following:


a shortcut to update your Debian system with one command - no questions asked `openurl`

opens a given URL in an already opened browser instance or starts a new browser session. Not only one browser is checked. I use it because firefox is slow to start and konqueror is blazingly fast to start. But when firefox is already open I want to use that. `xerr`

shortcut for fast error checking in your Xorg log `clipboard`

makes KDE4 Klipper contents available on the CLI (read _and_ write access!) `debug`

shortcut to start a GDB session: debug APP APP_ARGS is all you have to do. Its basically the same as doing:

    $ gdb APP
    > run APP_ARGS


Want to comment? Send me an email!

Comment by ben (not verified) (2009-03-03 11:42:00)

Hei, thanks for the great scripts. especially the open[editor|url] are really useful! Do you know the bash-script abcde? imo it’s the best script to rip a music cds :-)

Comment by Anonymous (not verified) (2009-03-03 00:53:00)

gdb —args app args

Comment by Milian Wolff (2009-03-03 01:02:00)

Well, yes thanks!

That makes the debug script pretty obsolete, that alias should do the job:

    alias debug='gdb --eval-command="run" --args'

Published on March 03, 2009.