Non-trivial command-line fu

What is this?


I like Unix. I particularly like the Unix Philosophy:

Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface.

There are a number of Twitter accounts that post some good command-line fu, but I've found that invariably they end up posting about one interesting nugget in a sea of basic commands. And so I figured I'd give it a try myself and simply post those commands I come across that -- at least to me -- are either non-obvious or of particular interest.

In the interest of keeping readers on their toes (and myself more easily within the restraints of the 140 characters), I've chosen to not post any explanatory details or hashtags etc. Ideally, one would be able to figure out what the command does, if not by inspection, then perhaps with the help of the friendly manual pages.

Should you be interested in more details, I'll be posting a short summary of each tweet linked from this page.

I expect the frequency of tweets to be very low, as I only have so many really interesting commands, and if I want to actually add a summary for each, that also takes time. That is, I'd like to add some value to even a neat command I might find posted somewhere else. You're welcome to send me suggestions at @jschauma, @rtfmsh, or, with a detailed explanation, at jschauma@netmeister.org.

Oh, and one more thing. This is /bin/sh -- well, ash(1), anyway -- not /bin/bash. So there's that.

[homepage] [jschauma@netmeister.org] [@jschauma] [@rtfmsh]