how to list all postgres databases on ubuntu terminal code example Example: postgres how to list all databases List all databases: \l