create script to connect to asmcmd prompt
Hi All,
I want to create script to connect to backend to asmcmd prompt through linux shell script and change directory and check file .
#!/bin/sh
export ORACLE_HOME=/u02/oracle/asm/product/11.2.0/grid
export ORACLE_SID=+ASM
asmcmd lsdg
doing this iam able to list disk groups but when iwant to go in disk group by using
asmcmd cd <diskgroupname>
I cnt to this .Kindly help...
Thanks