From: hadi motamedi <motamedi24 at gmail.com> >Actually I need to telnet to it and issue some commands and capture the output of the commands in a file and then wait for a prescribed time interval and then redo from the start (but I need to append all of the logs in just one file). Maybe have a look at nc (man nc)... JD