Query Postgresql from Bash Command Linecalendar2021-08-12 · 1 min read · postgresql db tricks ·Share on: twitterfacebooklinkedincopy1psql -c "<your_query_here>" Example, to show tables list:1psql -c "\dt+" Posts in this Series