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