This looks suspciciously like a homework problem, but I'll get you started. You need to learn about pipes and perl's open function. Try to find a way in the documentation or in the linux shell to pass output from one program to another. Then it's as easy as opening a log file and printing what you find.
In reply to Re: copy echo message into file
by jweed
in thread copy echo message into file
by My_Linux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |