Portupgrade - Piping Output to file

Kris Kennaway kris at obsecurity.org
Thu Mar 11 18:17:29 PST 2004


On Fri, Mar 12, 2004 at 01:32:17PM +1100, Ron Joordens wrote:
> Hi Everyone,
> 
> I'm currently using portupgrade to upgrade my ports (obviously). I'm getting
> errors on some of my ports. Eg config error on gedit2, and KDE fails for
> unknown reason.
> 
> How do I direct my output to a file so I can review it to find the reason or
> at least post it to this forum? I want the output dumped to a file and
> display on the monitor at the same time. Last time I tried using > the
> monitor was blank but there was nothing in the file.

Use script(1) or tee(1).

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040311/3f6a0a56/attachment.bin


More information about the freebsd-questions mailing list