#oneliner

hackbyte@friendica.utzer.de

So sometimes, you can recycle some weirdo scifi one-liners .. because, uh the #fediverse has so many more ppl now.. so:

You're only allowed to skip temporal mechanics lessons, when you arrive in a time machine built at least 10 years later.

#SciFi #OneLiner #RandomShit

German translation:

Sie dürfen den Unterricht in zeitlicher Mechanik nur dann überspringen, wenn Sie in einer Zeitmaschine ankommen, die mindestens 10 Jahre später gebaut wurde.

#Zeitliche #Mechanik #Zeitmaschine

hackbyte@pluspora.com

Because i just had a reason to re-visit and uhm, finally publish a weirdo but helpful #bash #oneliner, which easily predates newer #linux tools like #psgrep and so on.

Let me share it here, just for everyone interested.

https://pastebin.com/k23QTCiA

psg () 
{ 
    # Based on something i learned from A. Spohr way back in the mid 1990ies.
    # Recreated and refined to a useful oneliner in IRCNet in #linux.de in
    # the first decade of 2k. ;)
    /bin/ps xau | /bin/grep COMMAND\\\|$1 | /bin/grep -v grep
}

It's idea actually predates the invention of the modern psgrep command, but in retrospect really nicely complements it imho. ;)

#shell #psg #opensource