title: Postgres 'psql' command is not working in ubuntu
body: <p>I am new to psql. In terminal. I entered the following command</p>
  
  <pre><code>psql -U postgres
  </code></pre>
  
  <p>I am facing the following error:</p>
  
  <blockquote>
    <p>psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?</p>
  </blockquote>
  
  <p>Someone please help me in this regard.</p>