#!/bin/bash

cat > abc <<+
line1
line2
+

clear
echo "There are contents of file abc:"
cat abc
echo

trap "rm abc" 1

echo "Entering sleep mode"
echo "Disconnect unexpectantly from ssh or telnet system,"
echo "then re-connect to see if temp file \"abc\" was deleted"
sleep 1000
