#! newtime=$(date +%y%d%h) telnet $1 | tee -a /var/log/$newtime exit