After connecting to PostgreSQL with psql, you can list all databases with the following command.
To connect to PostgreSQL and create a database, you may want to read the articles named
“How To Connect To Database On PostgreSQL” and
“How To Create Database On PostgreSQL“.
1 | \l |

![]()
Database Tutorials MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux 