$ sudo systemctl restart postgresql $ psql -U postgres ユーザ postgres のパスワード: psql (13.3) "help"でヘルプを表示します。 postgres=# exit