What is Cgi-bin?

The term cgi-bin is what the directory is called on a webserver that contains executable programs that are called with cgi. If this makes no sense to you at all think of cgi, or common gateway interface, as a set of instructions that tells the webserver what to do and bin as a big filing cabinet where you store all the things the webserver needs. So the cgi-bin is the place your programs hang out until they get an order from the cgi scripting.