Tag Archives: bash

HOWTO: Mount your USB hard drives at boot time on Ubuntu

I’ve got a number of external USB hard drives connected to my ubuntu server that need to mount to a predictable directory. When you log into Gnome, the desktop environment does it’s nifty thing and mounts any drive you’ve got … Continue reading

Posted in Technical HOWTOs | Tagged , , , , , | Leave a comment

Set up JAVA_HOME to track Java Preferences.app on Mac OS X

Mac OS X’s Java Preferences.app has a pane for switching between versions of the JDK, but I just found out from a coworker (thanks, Mike!) that you can make your shell match that preference easily — just add this to … Continue reading

Posted in Technical HOWTOs | Tagged , , , , , | 2 Comments

Make “ps -ef” work in a shell on Mac OS X

If you’re used to SunOS or BSD, you’ll be at home with Mac OS X’s “ps -aux” to get a process list from a shell prompt. If you’ve been using any other recent unix, though, your fingers will want to … Continue reading

Posted in Technical HOWTOs | Tagged , , | Leave a comment

Ant bash completion on Mac OS X

bash will do tab-completion for ant targets on Debian/Ubuntu boxes out-of-the-box. If you haven’t upgraded lately, you may need to: sudo apt-get install bash-completion On Mac OS X, it needs a bit of massaging. First install the macports version of … Continue reading

Posted in Technical HOWTOs | Tagged , , , | 1 Comment