home *** CD-ROM | disk | FTP | other *** search
/ The HTML Web Publisher's Construction Kit / HTMLWPCK.ISO / unix / cgi / dir.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1995-07-11  |  228 b   |  11 lines

  1. #! /bin/sh
  2. echo Content-type: text/html
  3. echo
  4. echo "<HTML><HEAD><TITLE>Test script</HTML></HEAD><BODY>"
  5. echo "This prints the working directory of this cgi-script"
  6. echo "<PRE>"
  7. /usr/bin/pwd
  8. echo
  9. ls -l
  10. echo "</PRE></BODY></HTML>"
  11.