CIS 2279 Homework Assignment #13

Due Mon Dec 5, 2016

Create a perl script named lab13.pl. The script needs to have the following features:(10 points each)

  1. Read through the host names in "/mnt/homes/CLASSES/CIS2279/LAB13/hosts.txt" and check each host to see if it is on-line. Print the status of each host to the terminal.
  2. Retrieve the file "/slackware/slackware64-14.2/RELEASE_NOTES" via ftp from the host mirror.csclub.uwaterloo.ca.
  3. Email the first 8 lines of the RELEASE_NOTES file you just downloaded to yourself. Use lsc-smtp.lsc.vsc.edu as the SMTP host.
solution

last updated: 07 Dec 2016 01:10