<?php $text = str_replace('tcp', '<font style="color:red">tcp</font>', $text); ?>
echo "<pre>".shell_exec('netstat -a')."</pre>";