Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: lsnrctl commands
Steve
As on Windows, so on Unix: if you get your stdin and stdout redirects in a twist (I always do) just bracket the lot
Try:
(
lsnrctl <<EOF
set password $LSNR_PASS
show log_directory
exit
EOF
) | awk -f ... >myoutfile.log
Regards Nigel
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Feb 27 2007 - 11:51:12 CST
![]() |
![]() |