- Use commands that grab the output and save it for you. tee and script are ones that immediately come to mind. Script is recommended in several books on FreeBSD, esp. when rebuilding the kernel, which can generate a lot of messages. I tend to do these things inside an emacs command shell, so I "automatically" get logging.
- portupgrade itself has a very handy option : -l filename. This will log the output to the file. The -L option gives you control over the name of the log file.
Friday, March 12, 2004
portupgrade options
When using portupgrade, it can be nice to capture the output it generates, especially if it is a many port upgrade. There's a couple of solutions to this problem:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment