CGI enquiry

Hello,

I am new to Linux and have a general question.

In linux and unix you can have CGI scripts. I am aware of CGI as Computer Generated Images in graphics and Common Gateway Interface, but what are CGI scripts in relation to Linux or Unix?

Are CGI's in Linux and Unix relevant to only web programming or are they used for other things?

Thank you

ajfarroll

Hi Ajfarroll,

In the main CGI in the Unix world refers to the Common Gateway Interface, which is a way of interpreting and generating web pages. If you would like to gain a deeper understanding then you could google for "RFC 3875" or Request For Comments 3875.

These in the main are scripts stored under the "cgi-bin" directory on web servers, they are mostly used to dynamically generate web pages.

Regards

Dave