Custom Tab Completion

I'm sure you already know about tab completion: type part of a command name and hit TAB and you get its matches. Leave a space and then hit TAB, and you get filenames. Wonderful stuff. But what if YOUR command wants user names instead of file names?

What is FTP?

In the past I have defined many Web hosting jargon words that have sent many people to scratching their heads and calling upon the mighty powers of Google to look for an answer. Today I have one more for you. How many times have you hear of somebody saying they needed to FTP something? How about that they need to find a good FTP client?…