Connect to database sampledb as user bob and run the script db-init.sql, located in the current directory. The parameter -a causes psql to print all nonempty lines of the script file while they are executed.