how to redirect verbose to file?

Dave Ihnat dihnat at dminet.com
Thu Apr 29 00:27:46 UTC 2010


On Wed, Apr 28, 2010 at 03:20:12PM -0400, Anne Moore wrote:
> Does anyone know how I would redirect that files output into a file? (I
> tried the >> filename.xt or >filename.txt, but it doesn't work.)

You've gotten good external solutions.  You may also want to consider
putting the redirect into the script itself:

  exec 2>&1
  exec 1>destination.log

Cheers,
--
	Dave Ihnat
	dihnat at dminet.com




More information about the redhat-list mailing list