pico -w /etc/log.d/logwatch.conf
# if set, the results will be saved in <filename> instead of mailed
# or displayed.
#Save = /tmp/logwatch
Save = /tmp/logwatch
pico - w /tmp/logwatch
service httpd restart > /tmp/output.txt
cat /tmp/output.txt
vandal said:well i'm not totally sure what you mean
but this might be helpful
command > /tmp/output.txt
or to append (add to the end)
command >> /tmp/output.txt
for example
PHP:service httpd restart > /tmp/output.txt
then
PHP:cat /tmp/output.txt
if this isn't what you mean let me know