Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Linux by (6.1k points)
edited by

I use Redhat 5.5 and I want to know about version of Oracle installed on it. I am new to Linux, and searched Google but could not find the solution. Please tell me how can I know about the version using terminal.

1 Answer

0 votes
by (11.7k points)

It is pretty simple to find out the Oracle version in Linux:

If you are running the Oracle Database, you can try

$ORACLE_HOME/OPatch/opatch lsinventory

which shows the exact version and patches installed.

You can also try the command listed down below:

$ORACLE_HOME/OPatch/opatch lsinventory | awk '/^Oracle Database/ {print $NF}'

Related questions

0 votes
2 answers
0 votes
1 answer
0 votes
0 answers

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...