postgresql shell start code example Example: how to start psql in linux sudo service postgresql start # To start the postgresql service