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