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