Lets suppose we have a dumpfile and we have no clue from which database or atleast which version of database it is exported. (assume we donít have a log file)
We got a request to import it to other database. As per the compatibility matrix you can import only to higher versions and for this we need to know current dumpfile version.
In this situation, the following methods will help youÖ.
Method # 1
For classic export dump files on Unix systems, you can use below command
$ cat /tmp/scott_export.dmp | head | strings