If I have a server with one or more CDBs, what command can I run on the server in order to obtain a list where each item uniquely identifies one of the CDBs?
(a "CDB" is an Oracle Container Database)
Note 1: I realize that it is rare to have more than one CDB on a server. But in that case I would still want to obtain the unique CDB name of that one CDB.
Note 2: I know that the command cat /etc/oratab will list a bunch of DB installations on the server. But this includes installations that no longer exist. I want a list of only the currently existing CDB installations.