psql backslash commands
low risk
\l, \dt, \d table, \x, \timing and more inside psql.
psql -c "\l"List databases · explain & risk-check →psql -c "\dt+"Tables and sizes · explain & risk-check →Reference text is hand-written and may be incomplete — check man psql for your version. Test destructive commands on a non-production system first.