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 18.104.22.168.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.