The coolest tools in the box

My last note was a bit negative, so I’d do better to offer something a little more positive this time — probably the coolest utilities that I have found thus far, in my short Linux experience.

I wouldn’t call these “applications” — I put those into a different bracket mentally. These are small-scale, usually console-driven programs or tools that were a joy to discover and changed the way I used my machines.

  1. nfs. One of the things that always impressed me about nfs was it’s simplicity: Attach a folder on a networked machine to another, and browse through it like it’s part of the natural structure. No need for complex cryptic sign-ins, esoteric networking protocols or funky intermediaries. One adjustment to your fstab file and you can make a file server or a torrent client available to anyone (or only certain ones) on the network. I discovered this shortly after picking up Linux, and use it on a daily basis, more or less. It’s too quick and convenient … and cool.
  2. rsync. For me, rsync was a little intimidating at first, but once I got the hang of it, it was an amazing improvement on the standard copy commands. Here’s a tool that can sense if a file needs to be copied, along with a huge list of other criteria, and then mirrors the contents from one location to another. It can even jettison the stuff that doesn’t “belong” there, making it an impressive tool for deletion too. And best of all, it does this at a speed that apparently outstrips the ordinary cp command. Not to be ignored. 🙂
  3. openssh. The first time I used ssh I was struck at how simple and cool it was to be able to connect to a machine on the other side of the house, and control it seamlessly. Again, no funky logins or twisted protocols that needed disentangling. It worked perfectly the first time and every time thereafter, in my experience. Want to adjust something running on a file server? This is the ticket. Want to get a system profile on a sluggish torrent slave? This will allow you to troubleshoot and fix at a distance. A big gold smilie for this one.
  4. screen. I took my time getting to know screen, and I probably should have made the move quicker. But I’m a huge fan now, and it’s all the more powerful when combined with some of these other tools — most notably openssh, really … detach and reattach to a remote screen session, and you have all the flexibility and function you could want from a console-driven system. Combine it with some amazing “window management” capabilities, and screen is a clear hero.

I have one “honorable mention,” just because it doesn’t really fit into the group above.

  • The double-greater-than (>>) mark. Maybe it’s just because I came from the 8-bit generation, and maybe it’s just because I find it fun, but I absolutely love being able to just funnel the output from one command to the end of a file or document. I can’t really explain why it’s so appealing, but it’s so convenient and useful that, like the stuff above, I find myself relying on it a lot … maybe even using it when a different tool would be better. No harm in that, I suppose. 😀

That’s probably enough for now. I wouldn’t have thought that three out of my four (five?) favorites would be network based, but that’s the way things turned out. In any case, if there’s something here you haven’t tried yet, I strongly recommend taking a little time to learn more. :mrgreen:

16 thoughts on “The coolest tools in the box

  1. nflenz

    NFS’s simplicity is the thing I hate most about it. The only verification it uses is the UID and GIDs provided by the client machine, so both the client and the server need to be secured to protect your data. This is fine for servers, but I’m always a little hesitant to give a user a workstation with NFS mounts. It’s too easy to change the root password and access any data they want.

    I’ve been interested in openafs for a while now, but I have not yet used it.

    Right now my favorite method is to run an ftp server and have the users use curlftpfs to mount the “filesystem”.

    Reply
  2. stephen

    i can vouch for every thing you’ve mentioned:

    if you haven’t learned screen or rsync yet, don’t hesitate! there are tons of things that make it simple (the manpages aren’t as intimidating as others) out on the net, and they’re too powerful to pass up

    Reply
  3. lo0m

    Not using NFS anymore as I discovered SSHFS (how could i’ve been so blind).. hmm, guess i have to take a look at rsync cause EVERYONE loves it …

    Reply
  4. road

    all those are great. i got really excited the first time I tried screen until I realized that it doesn’t have the ability to do vertical splits. it shouldn’t make that much of a difference, I guess, but this was a deal-breaker for me.

    the one tool I’d add is top or, even better, htop which I can stare at for hours. it’s especially fun to combine with screen so you can watch your CPU usage as you run various processes/scripts/whatever.

    great post.

    Reply
    1. road

      sorry, i just realized your previous posts about screen-vs and htop… nothing new under the sun, i guess.

      Reply
  5. mulenmar

    Best usage of “>>” that I’ve found so far:

    $ lspci -vvv >> syshardware.txt
    $ nano syshardware.txt

    One of these days I should figure out how to send the output straight to the printer, it would be a great sysadmin trick.

    Reply
  6. Pingback: ssh is terrifically easy « Motho ke motho ka botho

  7. Pingback: Putting the Pentium back to work « Motho ke motho ka botho

  8. Pingback: Howto: rsync a system between drives « Motho ke motho ka botho

  9. Pingback: Reaching way back: Bonzai Linux « Motho ke motho ka botho

  10. Pingback: Is this a dagger which I see before me? « Motho ke motho ka botho

Leave a reply to nflenz Cancel reply