1. Quick Java Project Setup Using Maven

    Java projects, especially when it comes to web or EJB applications, tend to get pretty complex. Setting up such a project is a non-trivial task because of the many conventions you have to follow to make your application deployable. The maven project management tool provides a mechanism to setup a …

    read more
  2. Changing Directories Quickly

    When you work with the interactive shell, there's a common pattern that is used a lot: Copying or moving files to a directory and then changing to the target directory using cd. In these cases, you find yourself typing the name twice:

    $ cp file1 file2 file3 /very/long/path/name …
    read more
  3. Controlling Firefox via Command Line

    Mozilla-based browsers like Firefox have inherited a useful feature from the good old Netscape Navigator: Controlling a running browser instance via the command line. Using command line options, you can open URLs or files inside your browser window without having to enter them in the address bar.

    Suppose you're working …

    read more
  4. Creating HTML Reports with Oracle's SQL*Plus

    Oracle's sqlplus command line utility feels a bit antiquated for spoilt open source users. But with a bit of tweaking, you can generate nice database reports in HTML. Sure, the syntax is arcane, but if you're used to Perl you can get used to anything.

    The following basic example prints …

    read more
  5. Printing RFCs and Internet Drafts

    The a2ps command line utility converts text files to PostScript which can then be sent to a printer. The resulting output contains all kinds of boxes and additional information which limits the space on the printed page to make your own notes.

    Of course, this can all be turned off …

    read more
  6. Using D-Bus Introspection

    To control a D-Bus-enabled application, you need the interface definition to find out which methods are offered and which parameters they expect.

    Of course, you can get the relevant interface definition from the application's source distribution. But there's an easier way: Ask the object in question via D-Bus to …

    read more