### ask your database: $ psql -U postgres -c 'SHOW config_file' ### if logged in as the ubuntu user: $ sudo -u postgres psql -c 'SHOW config_file'