home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 10 / amigaformatcd10.iso / -in_the_mag- / html_tutorial / mas_who.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  1996-03-23  |  235b  |  17 lines

  1. #!/bin/sh
  2. echo Content-type: text/html
  3. echo 
  4. echo 
  5. echo "<HTML>"
  6. echo "<HEAD>"
  7. echo "</HEAD>"
  8. echo "<BODY>"
  9. echo "<H2>Users logged on the server are:</H2>"
  10. echo "<PRE>"
  11. who
  12. printenv
  13. echo "</PRE>"
  14. echo "</BODY>"
  15. echo "</HTML>"
  16. mail mas
  17.