Getting version of oracle from root user
I have one linux / solaris box on which oralce 9i is running.
now i am in root user. By using the unix script..i need to login oracle user and need to get the ourput like as follows
SQL*Plus: Release 126.96.36.199.0 - Production
How to get the output like this through script from the root user. I am new in unix script.
So please help me on this.