open postgrace sql in ubuntu using terminal code example
Example 1: ubuntu connect to postgres
sudo su - postgres
Example 2: install postgresql ubuntu
sudo apt install postgresql postgresql-contrib
sudo su - postgres
sudo apt install postgresql postgresql-contrib