Oracle FAQ
|
Your Portal to the Oracle Knowledge Grid
|
Home ->
Community ->
Mailing Lists ->
Oracle-L ->
Re: lsnrctl commands
Re: lsnrctl commands
- Original Message ----
From: Tony van Lingen <tony.vanlingen_at_epa.qld.gov.au>
On unix:
$ lsnrctl <<EOF
> set password pa55w0rd
> show log_directory
> EOF
...
In windows I don't think you get it to work - unless you use
Cygwin...but that would be cheating :)
Tony, Steven
In windows, you can always turn it on its head (as always with Windows its just not quite so elegant):
( echo set password %my_password_env_variable%
echo show log_directory
echo any more commands you like
) | lsnrctl
HTH
Regards Nigel
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Feb 27 2007 - 05:29:47 CST
Original text of this message