title: import .sql file into postgres using psql
body: <pre><code>Server [localhost]:
  Database [postgres]:
  Port [5432]:
  Username [postgres]:
  Password for user postgres:
  psql (10.6)
  WARNING: Console code page (437) differs from Windows code page (1252)
       8-bit characters might not work correctly. See psql reference
       page "Notes for Windows users" for details.
  Type "help" for help.
  
  
  
  postgres=#  create database mydb;
  CREATE DATABASE
  postgres=#  psql -d mydb -f Telnet.sql;
  ERROR:  syntax error at or near "psql"
  LINE 1: psql -d mydb -f Telnet.sql;
      ^postgres=#
  </code></pre>
  
  <p>/*I am not able to figure out the error
  I have tried a number of other commands as well but I am not able to figure out the issue.</p>