nuffnough wrote:
Hi.

I need to log the output of isakmpd -DA=90 to a file, and I am at a loss as
to exactly what syntax to use.  I am using OpenBSD 3.8 default shell (ksh
now...) and trying stuff like

isakmpd -T -DA=90 2>&1 > logfile

This would redirect stderr to stdout (screen) and stdout to "logfile".

You probably wanted
  isakmpd -T -DA=90 > logfile 2>&1
which redirects both stdout and stderr to "logfile". The order is important.

/alexander

Reply via email to