in reply to copy echo message into file
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.
|
|---|