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: http://github.com/milianw/shell-helpers/tree/master
Some of these might be more useful than others, you decide :) Personally, I can’t live without the following:
apupgrade
- 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