Build a Celestial Bodies Database

Please help. In the terminal it tells me that I connected to the database “universe” as “postgres” but when I try to check the database lists with \l I receive a message saying “command not found”.
How do I access the psql terminal and not the bash terminal? Thank you for your help.


try to connect to postgres again

the command to connect is psql --username=[username] --dbname=[database_name]

so in this case it’s psql --username=freecodecamp --dbname=universe

1 Like