How to start a tail -f shell command and follow online.

lucevers wrote:


Howto start a 'tail -f' shell command and follow online the results.

Example: like the PHP 'passthru' command.

The example below can start the command buts wait until the shell is

<%= %x{ls -l} %>

or 'popen' same problem.

There is a file-tail package available on the RAA that I recommend instead of shelling out. Cross-platform, too.



This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.


OK, but 'tail -f' is only an example.
Others like a ping,traceroute ... can be important to start from web