2. 建立目录,然后在里面建立文件叫做test.sh 包含以下内容: /var/www/virtual/wwwX.example.com/cgi-bin/test.sh #!/bin/bashecho Content-Type: text/html;echo echo “<pre>”echo My username is:whoamiechoecho My id is:idechoecho My shell setting are:setechoecho My environment variable are:envechoecho Here is /etc/passwdcat /etc/passwdecho “</pre>”