Over the years, I’ve found a few tools so invaluable for managing *nix servers that I end up installing them on every machine under my employ.

They are, in no particular order:

htop

htop is what top looks like after she puts on her dancing shoes on a Friday night. Basically htop turns this:

top

into this:

htop

It’s such an improvement over plain ole’ top — with no known downsides — that I have an alias in my shell:

if [[ -x `which htop` ]]; then alias top="htop"; fi

To install htop from repos:

# Debian
$ aptitude install htop
# Arch
$ pacman -S htop
# OS X
brew install htop-osx

ack

ack is a text search tool akin to grep, but with some pretty distinct advantages:

Needless to say, it’s better than grep.

To install ack from repos:

# Debian
$ aptitude install ack-grep
$ ln -s /usr/bin/ack-grep /usr/bin/ack
# Arch
$ pacman -S ack
# OS X
$ brew install ack

tree

tree is a great way to wrap your head around a directory structure instead of cding and lsing all over the place.

tree’s output looks like this:

tree

The output can be a bit overwhelming for directories with many files and subdirectories, but it can be easily piped to less so you can page and navigate it.

To install tree from repos:

# Debian
$ aptitude install tree
# Arch
$ pacman -S tree
# OS X
$ brew install tree

quid pro quo

What about you?

Do you have any tools that don’t ship with your server operating system of choice, but you just can’t live without?

If so, I probably can’t live without them either and just don’t know it yet. Please share :)