hi thanx for the response I dont need auto start of the Database .. I want to manually start the database.

I want to use these commands

su - oracle
oracle>svrmgrl
connect internal
startup
exit (exit from svrmgrl)
root>lsnrctl start

but when I execute the script its stopping at
SVRMGR>

Can u tell me how to writethe .sh script?

Thanx