Re: lsnrctl commands

  • From: Nigel Thomas <nigel_cl_thomas@xxxxxxxxx>
  • To: tony.vanlingen@xxxxxxxxxxxxxx, oracle-l <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 27 Feb 2007 03:29:47 -0800 (PST)

----- Original Message ----
From: Tony van Lingen <tony.vanlingen@xxxxxxxxxxxxxx>


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

Other related posts: