connect to postgres server ubuntu code example Example: ubuntu connect to postgres sudo su - postgres