No gift for gab: Four more console tools

Usually I focus on console programs that include an interface of some sort. The reason for that, as I have said before, is because there really isn’t much difference between GUI programs with buttons and menus, and a console application that arranges things visually and cues you from that interface. The long, long list of available audio players for the console should be illustration enough of that.

But I need to get past that sometimes. After all, there are programs whose “interface” is so exceedingly sparse as to be … practically nonexistent. Sometimes that’s because there’s no need for an interface — the program just does what it’s told, and finishes. Other times its because the author was even more of a minimalist than me, if you can believe that.

Here’s an example: wcalc.

As a command-line calculator, you might prefer this over bc, although they both rank around the same in terms of loquaciousness. If there is an interface to wcalc, it’s the arrow prompt and the terse greeting. Entering the question mark key does give you an idea of exactly how far wcalc can carry you, but it does a good job hiding its potential.

Of course, puf makes wcalc look blabby.

As if the world needed another file retriever, you’re thinking. Yes, I suppose that’s one opinion, but puf is clever enough to run its fetches in parallel, and can recurse through a site and filter targets, and can even follow links to sites beyond its target (which is either good or bad). It’s always possible that wget or some other download tools can do some of these things, which means puf isn’t quite as special as I might make it sound. But imagine you want to mirror a site locally. …

Either way, puf’s statistical output is about as close as you’ll get to an interface, and if you want less than that, you’ll have to tell it to be silent. Depending on the target and your bandwidth, it will probably only be on the screen for a short while anyway, so enjoy it while it lasts.

Another funny little tool is hiding in the cdrkit package — dirsplit.

If you’ve ever wanted to shuffle files between directories according to size of the target (like a USB drive or a CD), this is probably a good tool for it. By default it writes mkisofs catalogs, to show where files should be moved to fit your constraints. You can also direct it to move those files expressly, and save yourself a step if you’re shuffling files across volumes.

But talkative it is not. An interface is … well, not really there, unless you count the verbose output, which I don’t. One last tool … atool.

Another one that doesn’t talk much, but does seem to have a useful place on a Linux system. Everybody has their own form of compression, and atool tries to tie them all together in a cohesive way. It’s (generally) smart enough to determine which decompression program to use, and feeds it the flags that match the instructions it received. So whether you’re working with zip, rar, ace, tar or whatever files, you won’t (or at least shouldn’t) need anything but atool to empty them all.

There are literally thousands of command-line gems like this out there (here‘s a great list), and dismissing them out of hand because you can’t stab at them with a pointer is rather shallow. I’ll try not to be equally shallow, by dismissing them out of hand because they don’t impress me with their interface. Or lack thereof. :|

P.S.: puf is the only thing here that seemed to be absent from both the Arch and Ubuntu repositories. So you’ll probably have to build that one on your own. …

About these ads

13 Responses to “No gift for gab: Four more console tools”

  1. 1 CorkyAgain 2010/04/09 at 1:16 PM

    Another nifty calculator-like tool with a spartan interface is ised.

    Despite the name, it has no connection to the stream editor sed (or to Apple and the many iTools written for the Mac.)

    Anyway, take a look at it if you need a calculator that does more than the usual things.

  2. 2 anticapitalista 2010/04/10 at 3:19 AM

    If you haven’t seen it before, you might be interested in xsw for presentations.

  3. 3 aperson 2010/04/10 at 4:14 PM

    While we’re on the subject of atool…. I like using unp for my archives.

  4. 4 jlcordeiro 2010/04/10 at 10:55 PM

    Thanks for a few more nice cli apps.

    btw, since it was missing from AUR:

  5. 5 quigybo 2010/04/10 at 11:54 PM

    python shell is all I need for a calculator, with a little bit of ‘from math import *’

  6. 6 Douglas 2010/04/14 at 11:19 AM

    Instead of dirsplit, I would like to recommend you the tool called gaffitter:

    Unlike dirsplit, Gaffitter uses a global optimization algorithm (genetic algorithm) to calculate the best arrangement of files among the target volumes that minimizes the total wasted space.

  1. 1 Links 10/4/2010: RIM Buys QNX, Palm Pre Runs Almost Everything | Techrights Trackback on 2010/04/11 at 4:56 AM
  2. 2 GoblinX Project » GoblinX Newsletter, Issue 245 (04/11/2010) Trackback on 2010/04/11 at 10:41 PM
  3. 3 A console spellchecker and dictionary « Motho ke motho ka botho Trackback on 2010/04/12 at 10:43 AM
  4. 4 Destillat #40 – GNU/Linux | - Open Source, Wet-, Web-, Software Trackback on 2010/05/07 at 2:19 PM
  5. 5 Two more universal decompressors « Motho ke motho ka botho Trackback on 2010/09/19 at 10:15 PM
  6. 6 Information, please « Motho ke motho ka botho Trackback on 2011/04/16 at 8:12 AM

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Visit the Wiki!

Some recent desktops

May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF

May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games

Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers


This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,961,544 hits



Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: