#! /bin/sh # A script to allow the user to mail a file to another user on the same # system. Prompts the user for the recipient's ID and the file to send. clear echo -n "Enter user's id: " read userid echo " " echo -n "Enter filename: " read fname mail $userid < $fname echo echo $fname "has been mailed to" $userid echo