how to run postgresql commands from ubuntu code example
Example 1: start postgresql ubuntu
sudo service postgresql start
Example 2: how to run postgresql in linux
sudo service postgresql-9.3 initdb
sudo service postgresql-9.3 start
sudo service postgresql start
sudo service postgresql-9.3 initdb
sudo service postgresql-9.3 start