Archiv für die Kategorie ‘cmd-lines’

grep for intersection in files

4. Juni 2010 Keine Kommentare

grep -Fx -f file1 file2
intersection between two files

Kategoriencmd-lines, IT, Web Tags:

mash yubnub

31. Januar 2009 1 Kommentar

a usefull thing is to mash up yubnub commands:

to launch a search for the term ‚einstein‘ in wiki, google and google image: ‚mash2 einstein -cmd wp g gim‚ which creates
a framed page with all three resultpages. The result above is certainly not representative, as it is not very readable, unless you have a huge screen.

A more useful version would be ‚mash2 torchwood -cmd epguide iso‚, which displays the result of and the search result of isotorrents for the tv series named ‚Torchwood.

You can use this command also with no searchstring at all. For example, if you are a baduk player like me:
mash2 -cmd dgos ogs‚ which displays the games stats on the dragongoserver and

Most of the yubnub commands are also in my wiki

added later: On a website of one of the commentors (yeah, I actually had one), there is also the option multi instead of mash. Thanks for your article gomelet

Kategoriencmd-lines, Web Tags:

created new yubnub command: findjar

31. Dezember 2008 1 Kommentar

I just recently stumbled accross, a usefull tool
to find jar-files [who would have guessed..]

And I created a yubnub command for it: findjar

Hope somebody else finds this usefull too 😉

Blogged with the Flock Browser


Kategoriencmd-lines, Java Tags:

Linux screenshot via cmdline

28. November 2008 Keine Kommentare

The cmdline way for a screenshot:

import myFile.png

Cursor turns into a crosshair cursor -> span an area and the screenshot will be safed as myFile.png


Kategoriencmd-lines, linux Tags:

more cmdlines [linux-user only]

20. Oktober 2008 Keine Kommentare

I recently learned and relearned more of common cmdlines and oneliners in bash.
Posting them gives me a place to lookup these until I enter them properly into my wiki.

linux-users follow here Mehr…

Kategoriencmd-lines, linux Tags:

Search my Blog and my Wiki via yubnub

6. August 2008 Keine Kommentare

I created  2 yubnub search commands:
‚lsw word‚ searches on my wiki for word
lsb word‘ searches on my blog for word


Blogged with the Flock Browser
Kategoriencmd-lines, Web Tags:

groovy script beautified

24. März 2008 Keine Kommentare

I rewrote my groovy-script to have better output:


Kategoriencmd-lines, Downloads, Java Tags: ,

groovy-script: lookup classes in jar-files

11. März 2008 Keine Kommentare

Recently I had following problem. I had a bunch of jar-files and I had to find out which jar-file was holding a specific class.

This is a common task, because your java-code told you that a class XY was not in you classpath, so you would have to search for it, if you don’t know already where to find it.

Since I had to do it already 2 times and as I am learning groovy I decided to write a short groovy-script
(are there long groovy-scripts?) which allows me to do that.

It is pretty straight-forward so here it is: searchJar.groovy

Kategoriencmd-lines, Java Tags: , ,

import gpg-keys from the cmdline

1. Februar 2008 Keine Kommentare

like linux cmdline:
if you are looking for my name for example, enter the following:
gpg --search-keys knoller
This will look for my key, offer you a choice of all ‚knoller‘-keys and
will import them automatically to your keychain.

Usefull in conjuction with mail-security,
which btw, apple has no support. shame on apple.

Kategoriencmd-lines, IT Tags:

Leopard, force backup for time machine

29. Januar 2008 Keine Kommentare

Time Machine is a good concept for backups, but when I connect my external harddrive I usually have to wait for 10-45minutes before the backup starts. There are 2 ways to force a backup instantly

  1. If you still have your time machine icon in the doc, you can ctrl-click it and select ‚backup now‘
  2. If you don’t, as I have because I like to have my dock as simple as possible, you can do it on the cmd-line. Yes cmd-line, hurray, linux forever, ahemm… sorry, short outburst…
    here is the command:
Kategoriencmd-lines, IT Tags: , ,