show pdbs display the names, ids, mode and restriction status of the Pluggable Databases in the consolidated database to which the user is connected.
$ sqlplus / as sysdba
…
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDBTQ84 READ WRITE NO