connect to postgresql ubuntu code example
Example 1: ubuntu connect to postgres
sudo su - postgres
Example 2: how to connect postgres user password using command line
\password postgres
sudo su - postgres
\password postgres