Question: how to create database in postgresql in linux?
Answer: Create a database: /usr/bin/createdb bedrock. (As Linux user postgres: sudo su - postgres) Connect to the database: /usr/bin/psql bedrock. Execute command as Linux user postgres. ...  Database discovery / Examine a database (as user postgres: su - postgres): [postgres]$ psql. ...  More info: