Skip to content

Instantly share code, notes, and snippets.

@EteimZ
Created October 20, 2022 22:46
Show Gist options
  • Select an option

  • Save EteimZ/6c6b790cdee043652d904aee1b33af14 to your computer and use it in GitHub Desktop.

Select an option

Save EteimZ/6c6b790cdee043652d904aee1b33af14 to your computer and use it in GitHub Desktop.
steps to setup postgres
$ sudo -i -u postgres
postgres@username:~$ psql
postgres=# help
You are using psql, the command-line interface to PostgreSQL.
Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help with psql commands
       \g or terminate with semicolon to execute query
       \q to quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment